2 DOS Tips
Yes, DOS tips! From the command prompt, of course.
Tip 1: How to deal with “CMD does not support UNC paths as current directories”
This drives me crazy. However, the solution from mypkb.wordpress.com is quite simple:
The solution is to use pushd instead of cd to change the current directory to a share accessed via a UNC path (e.g.: >pushd \\myserver\myshare).
Use popd when done.
Tip 2: Create a recursive list of files
I love this tip from tek-tips.com. The following command displays a recursive list of files from the current directory.
dir /A:-D /B /S
0 Comments:
Posta un commento
<< Home