Cmd ??

S

sen

Matthias-

where can I find a link to a document explaining all aspects of of bat
syntx
in a definition format.

And thx for your help before it was of much benefit
 
S

sen

How do I specify a drive if its not know. Is there a generic code that will
determine the drive which coontains a file. For example when I used this

CODE

RD /S /Q "%systemdrive%\Documents and Settings\All Users\Application
Data\Microsoft"

%systemdrive% Being the drive leter in question

I have tested using %systemdrive% as the drive without luck, any ideas..
 
M

Matthias Tacke

sen said:
How do I specify a drive if its not know. Is there a generic code that
will determine the drive which coontains a file. For example when I
used this
CODE

RD /S /Q "%systemdrive%\Documents and Settings\All Users\Application
Data\Microsoft"

%systemdrive% Being the drive leter in question

I have tested using %systemdrive% as the drive without luck, any
ideas..
Maybe you look for

echo "%allusersprofile%\Application Data\Microsoft"

hth
 
J

Jerold Schulman

Matthias-

where can I find a link to a document explaining all aspects of of bat
syntx
in a definition format.

And thx for your help before it was of much benefit


Matthias Tacke said:
Maybe you look for

echo "%allusersprofile%\Application Data\Microsoft"

hth
--
Greetings
Matthias________________________________________
For help on nt commands enter in a cmd window:
W2K>HH windows.chm::ntcmds.htm XP>HH ntcmds.chm
The help system in your computer.
See tip 2815 in the 'Tips & Tricks' at http://www.jsiinc.com

Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 

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