Re: dual command



"Pegasus \(MVP\)" <I.can@xxxxxxx> wrote in
news:O1M5obFnGHA.620@xxxxxxxxxxxxxxxxxxxx:


"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

You could do it by embedding your commands in
a batch file, or you could join the commands with
an ampersand:

c:\install.exe & cmd /c rd /s /q "c:\Some Folder"




You know, I useta be real good at writing batch files. I guess "use it or
Lose it" is simply a fact. Thank you for pointing me to the correct path.
I work in 4NT and the code that did the trick was:

pushd C:\Program Files\Sierra\Hallmark Card Studio 2004
hcs & rd /s /q c:\sierra & exit

Your suggestion wasthe spark that lit a very dark area of my memory. I
appreciate your help greatly. This incluedes all of you who answered.
.



Relevant Pages

  • Re: dual command
    ... the folders it installs. ... I have two shortcuts to accomplish ... You could do it by embedding your commands in ...
    (microsoft.public.windowsxp.general)
  • got it!
    ... set up a batch file in the winnt folder so i could run a series of commands ... You also have to lower the version of the policy, ... >> (you can use the scheduler to schedule remotely): ...
    (microsoft.public.win2000.security)
  • Re: Offline Defrag command line
    ... You can also create a batch file with all the commands pre-configured ... b/c you will have the commands and syntax in the batch file. ... It makes the life of an Exchange Admin easier. ...
    (microsoft.public.exchange.admin)
  • Re: What do you dislike about OSX?
    ... So to the Mac users - What do you like ... There are applescript commands you can run to put QuickTime in full screeen ... > includes Windows shortcuts beside OS X shortcuts. ...
    (comp.sys.mac.advocacy)
  • Re: keyboard shortcuts, changing to default for another language
    ... I guess StineMS is talking about the accelerator keys which are interface language dependent (Alt+F for the File menu, etc. - I don't know the Danish equivalent off the top of my head) and there isn't any easy way round the problem. ... I suppose if you have different userids in Windows, you could set up a global template on a per-user basis, containing the Danish shortcuts but it is probably less work to learn the English shortcuts if you know the language. ... you can locate commands found in the individual ...
    (microsoft.public.word.docmanagement)