net use

I used these instructions:
Start button  , clicking All Programs, clicking Accessories, and then clicking Command Prompt.
net use > mapped_drives.txt

I am trying to get a list of mapped drives with the paths.

it runs, but where does it put the text file?
qbjgqbjgConsultantAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

netcmhCommented:
When you open the command prompt, what does the path say? That's where the file will be placed.

Alternatively, if you create a C:\Temp folder and run
net use >> c:\Temp\mapped_drives.txt

The file will be in the C:\Temp folder.
0
Paul MacDonaldDirector, Information SystemsCommented:
"net use > mapped_drives.txt" should create a mapped_drives.txt file in the folder the command is run in.    

If you want the mapped_drives.txt file to be created in a specific folder, you'll have to prepend that path to the file name, as [netcmh] notes above:
"net use > C:\temp\mapped_drives.txt"
0
Gerwin Jansen, EE MVETopic Advisor Commented:
It will be located at the 'Start in:" location of the shortcut that starts Command Prompt. Right-click that icon under Accessoires and choose 'Properties' to see that location.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
qbjgqbjgConsultantAuthor Commented:
Thanks
0
netcmhCommented:
Thanks for the grade. Good luck.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft DOS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.