Guest K1u Posted October 3, 2006 Share Posted October 3, 2006 Ok if i made a batch file for example- cd C:WINDOWSsystem32 del crapshack If crapshack is a folder when u run the batch file file u will get a Y/N message if u want to delete how can i make it automatically say yes in batch file? Quote Link to comment Share on other sites More sharing options...
Sparda Posted October 3, 2006 Share Posted October 3, 2006 del /Q Quote Link to comment Share on other sites More sharing options...
Guest K1u Posted October 3, 2006 Share Posted October 3, 2006 Thanks Quote Link to comment Share on other sites More sharing options...
Sparda Posted October 3, 2006 Share Posted October 3, 2006 You wil be sorry for making me write some unessasery code lol ;) Quote Link to comment Share on other sites More sharing options...
Guest K1u Posted October 4, 2006 Share Posted October 4, 2006 You wil be sorry for making me write some unessasery code lol lol well ur help is appreciated Quote Link to comment Share on other sites More sharing options...
Guest K1u Posted October 4, 2006 Share Posted October 4, 2006 Hey do u know of any tutorials that help u learn how to do advanced batch files? Quote Link to comment Share on other sites More sharing options...
ChevronX Posted October 4, 2006 Share Posted October 4, 2006 http://www.onesmartclick.com/programming/batch-files.html Quote Link to comment Share on other sites More sharing options...
PoyBoy Posted October 4, 2006 Share Posted October 4, 2006 Ya, thats a really good one Quote Link to comment Share on other sites More sharing options...
Guest K1u Posted October 4, 2006 Share Posted October 4, 2006 http://www.onesmartclick.com/programming/batch-files.html WHOA!!! Freaking nice man sweetness thanks sooo much :D Quote Link to comment Share on other sites More sharing options...
Guest K1u Posted October 4, 2006 Share Posted October 4, 2006 I resized my avatar is this ok or should i size it down some more? Quote Link to comment Share on other sites More sharing options...
PoyBoy Posted October 4, 2006 Share Posted October 4, 2006 Nothing is showing up but white, but it could reasonably be double the size? (Authority post here with a real reply) Quote Link to comment Share on other sites More sharing options...
VaKo Posted October 4, 2006 Share Posted October 4, 2006 I resized my avatar is this ok or should i size it down some more? My avatar is pushing it. Its basically a max width of 160px and up to 200px height wise. Quote Link to comment Share on other sites More sharing options...
hammet Posted November 9, 2006 Share Posted November 9, 2006 del /Q No its del /y Quote Link to comment Share on other sites More sharing options...
pseudobreed Posted November 9, 2006 Share Posted November 9, 2006 Deletes one or more files.DEL [/P] [/F] [/s] [/Q] [/A[[:]attributes]] names ERASE [/P] [/F] [/s] [/Q] [/A[[:]attributes]] names names Specifies a list of one or more files or directories. Wildcards may be used to delete multiple files. If a directory is specified, all files within the directory will be deleted. /P Prompts for confirmation before deleting each file. /F Force deleting of read-only files. /S Delete specified files from all subdirectories. /Q Quiet mode, do not ask if ok to delete on global wildcard /A Selects files to delete based on attributes attributes R Read-only files S System files H Hidden files A Files ready for archiving - Prefix meaning not If Command Extensions are enabled DEL and ERASE change as follows: The display semantics of the /S switch are reversed in that it shows you only the files that are deleted, not the ones it could not find. Quote Link to comment Share on other sites More sharing options...
hammet Posted November 9, 2006 Share Posted November 9, 2006 ... I guess you are right... The /y is when you Copy.... and /-y is to overwrite !!! Sorry... Quote Link to comment Share on other sites More sharing options...
Mick Posted November 10, 2006 Share Posted November 10, 2006 Well, if you want to get advanced, you could always do echo y|del something or even store your prerecorded answers in a file and call del something < answers.txt Quote Link to comment Share on other sites More sharing options...
Shiva Posted November 10, 2006 Share Posted November 10, 2006 U could do a del /? to get all the parameters it can take. /? works with most dos commands. Quote Link to comment Share on other sites More sharing options...
Spartain X Posted November 11, 2006 Share Posted November 11, 2006 i also highly recommend checking out http://www.ss64.com/nt/index.html there is a lot of detailed information about window's command line applications and their syntax and sample scripts and for quick help with any command it's always good to run the command with /? or -h or /help or --help as they usually list the syntax and usage it's that does not work google it Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.