\
Skip Navigation LinksHome > eZine > Ask Vance\
 
 
Vance Hunt has provided home-user help desk style support for his consulting company for over 6 years. Making his home in beautiful Southern California, Vance provides general computer Q&A for users via his weekly column.

[]Ask Vance A Question
[]Browse Other Dates



 
Icon of Vance HuntFriday, February 05, 2010
Does Microsoft consider you a lesser person if you still use MD-DOS and the command prompt?
By Vance Hunt
 
Shout-Back! Read Comments  |  Post A Comment

Q: In previous versions of Windows, at the command prompt, I could use the deltree command to remove a folder, plus all files and subfolders therein. I can't get that to work in Windows 7. How do you easily delete an entire folder tree?

 
A: To be fair, you couldn't actually use that command at the prompt in Windows XP, Vista, 2003, or 2008 either. If you're a long time Windows Veteran, you might be surprised what isn't available any more from the command prompt, but only because for many people, dropping to the command prompt is a rare activity.

The "new" command is actually an amendment to an existing command, the RD or REMDIR commands.  Do a RD /? at the command prompt to see the full list of switches, but a /S is what you're looking for these days.



Q: I am looking for a utility that can quickly create "placeholder" files of any specified size.  Freeware preferred, and one that doesn't actually take the time to fill the file with data.  Know any?

 
A: Believe it or not, you already have just such a utility.  Open the command prompt and enter in the following:

fsutil file createnew [file] [sizeinbytes]
example: fsutil file createnew c:\mytestfile.tmp 1073741824

That should quickly give you a 1 GB file.




Comments: [0]   [Show Disclaimer]

Post a Comment
Display Name:
Comment:
(Plain text only - all HTML will be stripped)

Previous Ask Vance Questions:

 FAQs  |  Terms Of Use  |  Privacy Policy  |  Contact Us
Copyright © 1997 - 2010 Dx21, LLC. All rights reserved.
Dx21, LLC a Washington Limited Liability Company
Page Rendered at: 2/8/2010 10:36:59 PM for Unknown