Re: help chdir UNC path ( newbie )

From: Purl Gurl (purlgurl_at_purlgurl.net)
Date: 10/16/03


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


Relevant Pages

  • Re: net use command
    ... Specifies the next available drive letter. ... specifies to disconnect all of your connections. ... computer Specifies the name of the computer sharing the resource. ... /YES Carries out the NET USE command without first prompting you to ...
    (microsoft.public.windowsxp.network_web)
  • Re: Map network drive
    ... displays information about computer connections. ... Assigns a name to connect to the resource or specifies the device to be ... Specifies the name of the server and the shared resource. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: "insufficient resources at remote node"
    ... $ HELP/MESSAGE REMRSRC ... insufficient system resources at remote node ... The remote process encountered a resource ... Maximum Transport Connections = 200 ...
    (comp.os.vms)
  • Re: "insufficient resources at remote node"
    ... $ HELP/MESSAGE REMRSRC ... insufficient system resources at remote node ... The remote process encountered a resource ... Maximum Transport Connections = 200 ...
    (comp.os.vms)
  • Re: "insufficient resources at remote node"
    ... $ HELP/MESSAGE REMRSRC ... insufficient system resources at remote node ... The remote process encountered a resource ... Maximum Transport Connections = 200 ...
    (comp.os.vms)