Re: help chdir UNC path ( newbie )
From: Purl Gurl (purlgurl_at_purlgurl.net)
Date: 10/16/03
- Next message: Roy Johnson: "Re: How to generate 2 dimensional array-s?"
- Previous message: Kasp: "Re: XSL - 3 lines explaination"
- In reply to: Bill: "Re: help chdir UNC path ( newbie )"
- Next in thread: Eric J. Roode: "Re: help chdir UNC path ( newbie )"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 16 Oct 2003 10:50:51 -0700
Bill wrote:
> Didier FRAISSE wrote:
(snipped)
> > >chdir('\\\Bureautique\Reporting France');
> This is a windows system issue. Windows system 'cd' does not supprot
> UNC paths either :(.
Actually Win32 does for a local machine. For a remote
machine, map a network drive using fileman.exe,
which is not available under less powerful WinNT 5
type systems.
You may also use the DOS command:
net use [drive letter:] \\machine_name\drive_letter\
net use Z: \\chahta\c\
**
Accessing a local machine UNC directory:
C:\APACHE\USERS\TEST>cd \\chahta\c\
C:\>
**
Accessing a remote machine UNC directory via mapping:
C:\>H:
H:\>dir /p
Volume in drive H is C DRIVE
**
That is C DRIVE on a remote network machine.
http://granitebear.com/FAQ_network101.htm
Win2K/XP/NT5 users may experience difficulties using powerful
MSDOS features, or those features might not be available as
they are under more powerful Win9.x / Win32 system. Most DOS
features are stripped from NT5 to prevent users access to
many traditional MSDOS commands. NT5 machines are impotent.
Purl Gurl
-- Most Entertaining Android In Existence! http://www.purlgurl.net/~callgirl/roberta/roberta.cgi C:\>net use /? Connects or disconnects your computer from a shared resource or displays information about your connections. NET USE [drive: | *] [\\computer\directory [password | ?]] [/SAVEPW:NO] [/YES] [/NO] NET USE [port:] [\\computer\printer [password | ?]] [/SAVEPW:NO] [/YES] [/NO] NET USE drive: | \\computer\directory /DELETE [/YES] NET USE port: | \\computer\printer /DELETE [/YES] NET USE * /DELETE [/YES] NET USE drive: | * /HOME drive Specifies the drive letter you assign to a shared directory. * Specifies the next available drive letter. If used with /DELETE, specifies to disconnect all of your connections. port Specifies the parallel (LPT) port name you assign to a shared printer. computer Specifies the name of the computer sharing the resource. directory Specifies the name of the shared directory. printer Specifies the name of the shared printer. password Specifies the password for the shared resource, if any. ? Specifies that you want to be prompted for the password of the shared resource. You don't need to use this option unless the password is optional. /SAVEPW:NO Specifies that the password you type should not be saved in your password-list file. You need to retype the password the next time you connect to this resource. /YES Carries out the NET USE command without first prompting you to provide information or confirm actions. /DELETE Breaks the specified connection to a shared resource. /NO Carries out the NET USE command, responding with NO automatically when you are prompted to confirm actions. /HOME Makes a connection to your HOME directory if one is specified in your LAN Manager or Windows NT user account. To list all of your connections, type NET USE without options. To see this information one screen at a time, type the following at the command prompt: NET USE /? | MORE or NET HELP USE | MORE
- Next message: Roy Johnson: "Re: How to generate 2 dimensional array-s?"
- Previous message: Kasp: "Re: XSL - 3 lines explaination"
- In reply to: Bill: "Re: help chdir UNC path ( newbie )"
- Next in thread: Eric J. Roode: "Re: help chdir UNC path ( newbie )"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|