Windows 2003: Scripting

I just find 2 commands very useful that I use on Linux:
LOCATE command can easily find file path
TOUCH command create a simple empty file of a specified size

On Windows 2003 you can use WHERE and FSUTIL (see example below).

C:\>where notepad.exe

C:\>fsutil file createnew AFileOfOneMegaByte.txt 1048576
File C:\AFileOfOneMegaByte.txt is created
Share on Google Plus

About Vittorio Pavesi

    Blogger Comment
    Facebook Comment

0 commenti: