Re: dual command



Do it using the DOS emulator, a batch file, a shortcut to it and the rd
command. The /s switch causes the rd command to remove the folder,
subfolders and all files. The /q switch causes it to do it without asking
for permission first. These files/folders IIRC won't be stored in the
recycle bin.

Start notepad, type in the RD command above with the proper folder name and
save with a filename.bat extension to the System32 folder under Windows.

For the shortcut, right click on the .bat file created and create a
shortcut. Move the shortcut to where ever you want to start the shortcut
from. By double-clicking on the shortcut it will start the batch file and
run the remove directory command which will remove the folder and all its
subfolders.


"P. H. Allen" <phasr1@xxxxxxxxxxx> wrote in message
news:Xns97F24C3639314phasrverizonnet@xxxxxxxxxxxxxxxx
Is there a way to execute an application under shortcuts, and then
complete
a second process. An application I use always inserts a folder and
subfolders on my drive C: and I would like to execute the app and delete
the folders it installs. At this time, I have two shortcuts to accomplish
this, but would like having one to do the job. Thanks


.



Relevant Pages

  • Re: USB drive problem
    ... Once per month I update the files using a batch file ... using this context for the copy command: ... that folder. ... The first problem I see is that there is no U or S switch for COPY. ...
    (alt.comp.hardware.pc-homebuilt)
  • Re: Ways to get a Directory Listing in a Text File, or Printed out - Re: Web site directories
    ... Use the CD Command, in a Command Prompt Window ... That doesn't specify a folder, just changes to the specified folder, ... if yo ucall up a Script (or Batch File) by using the *RightClick* ...
    (uk.people.silversurfers)
  • Re: Adding to All Proigrams
    ... Shortcut or the data folder will not open the program but I can run the program from the shortcut in all programs or the shortcut in Start. ... You can run MSCONFIG and under the Startup tab, look for any reference to the program. ... You'll probably find that the command line doesn't place the command line in quotes, or it's just a damaged command line. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: How to copy whole folders?
    ... First of all your syntax is different than xcopy help shows: ... I want just to move my batch file from one folder to another and run it ... error and restart the same xcopy command until all files are copied. ...
    (microsoft.public.windows.file_system)
  • Re: Configure shortcut to explorer
    ... links are specific to the Start Menu folder in a couple of different ... The best option for accessing Windows Explorer is to go to Start/All ... This will place the WE shortcut on the Start ... The keyboard shortcut will inherit the command line in the WE ...
    (microsoft.public.windowsxp.basics)