English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Hi,

I'd like to print results of dir in a mapped, shared drive for Windows. I am on my local host at C:\ and would like to run a dir on a mapped drive M:\MySharedDir.

Any advice?
Thanks!

2006-10-12 04:16:11 · 3 answers · asked by Erik P 1 in Computers & Internet Computer Networking

Thanks, I was trying:
cd m:\
Wasn't working ;-)

Much better. Thanks.

2006-10-12 05:26:24 · update #1

3 answers

Change your directory to m drive on the command prompt in dos.

c:> m:

CD over to MySharedDir

m: cd MySharedDir

print the directory back to your c drive:

m:MySharedDir> dir > c:\.txt

Now you have a list of the directories on your C: drive.

2006-10-12 04:33:32 · answer #1 · answered by Grasshopper 4 · 0 0

Or you could just do:

dir M:\MySharedDir > prn:

although the text file is probably better.

2006-10-12 05:01:16 · answer #2 · answered by Proto 7 · 0 0

m:
cd MySharedDir
dir

2006-10-12 04:19:34 · answer #3 · answered by Steven W 2 · 0 0

fedest.com, questions and answers