XP CMD, DOS access to a network Folder with $ suffix.

G

Guest

I need to use a microsoft tool to move files from the DOS prompt with XP from
a server to a PC.( CSCMD command with the EXTRACT Option ( Offline files ) )

The files are in a directory on the server with a $ suffix. ( has the
following syntax )
\\Server\User Name$

I do not seem to be able to access this directory from DOS. I can do this
from the command line on File manager. I do have Supervisor access.

I have had a search and cannot find an answer!.
 
J

John John

Alan said:
I need to use a microsoft tool to move files from the DOS prompt with XP from
a server to a PC.( CSCMD command with the EXTRACT Option ( Offline files ) )

The files are in a directory on the server with a $ suffix. ( has the
following syntax )
\\Server\User Name$

I do not seem to be able to access this directory from DOS. I can do this
from the command line on File manager. I do have Supervisor access.

I have had a search and cannot find an answer!.

As there is no "DOS" in Windows XP or in Windows Server products I don't
know what "DOS" you are talking about. As for your command, keep in
mind that if there are spaces in the path it must be surrounded by
quotation marks.

John
 
G

Guest

John John

Start, Run,, Enter CMD, Press Enter. You get a Dos box. It accepts
extended dos commands.
This extended "dos" accepts spaces in names.
Regards
 
J

John John

That *is not* DOS and it doesn't accept spaces in the path, if there are
spaces in the path surround it with quotation marks!

John
 
G

Guest

John John

Apologies, agreed, It is NOT an operating system.
However, it does allow the user to enter DOS commands.
Including spaces in folder names.

If you don't believe me. Create a folder in file manager.
Go to the Cmd box, and change directories, it works!.
 
K

Ken Blake

Alan said:
John John

Apologies, agreed, It is NOT an operating system.
However, it does allow the user to enter DOS commands.


The point is that although the command is certainly very DOS-like, it is
*not* the same as DOS. Many, even most, DOS commands work, but *not* all do.
 
J

John John

Oh, believe me, I know how CMD.EXE works! ;-) Why your command might
be failing there might be because there are spaces in the *path*
Earlier you posted:

\\Server\User Name$

That is the path and the path *must* be surrounded by quotation marks if
it contains spaces:

"\\Server\User Name$"

There can be spaces in the command and in the switches but there cannot
be spaces in the path.

John
 
J

John John

Oh, by the way, try this:

Create a new folder in C:\ and call it My folder. In the new My folder
directory create a text document and call it: Myfile.txt.

If not already present create another folder in C:\ and call it Temp
(C:\Temp)

Now start a Command Prompt and issue the following commands:

cd My folder

Things work, don't they? Or so they appear to work. Now issue the
following:

cd\
copy C:\My folder\Myfile.txt C:\Temp

So, what is going on? The command fails! Now try:

copy "C:\My folder\myfile.txt" C:\Temp


So what happens now? The cd command may work with spaces but other
commands fail if the path contains "unsurrounded" spaces.

John
 
D

dloj333

John John

Start, Run,, Enter CMD, Press Enter. You get a Dos box. It accepts
extended dos commands.
This extended "dos" accepts spaces in names.
Regards

Alan
I think John knew exactly what you were talking about and John,
growup. Oh does that need a spac? . It's people like you John that
give us geeks a bad name, your anal retentiveness is beyond belief,
along with your supposed "superior arrogance", see John I put
quotation marks around that, is that correct.
 
G

Guest

John John

Thanks. That helps!. The practical example you set really shows the issue,
and solution.
Its something I have forgotten about since my DOS days.
The ability to CD with a space in the name misled me!.

I will try your suggestion.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top