Search found 11 matches
- 29 Feb 2012 03:15
- Forum: DOS Batch Forum
- Topic: Wait until application finished
- Replies: 16
- Views: 22231
Re: Wait until application finished
I use Passcrypt since years and never had a problem until I installed in it Windows 7, where it runs properly but just doesn't terminate properly. I understand the thing with PAUSE, but it gives no information concerning how Passcrypt terminates, but just: "Type any key to continue." Nothi...
- 26 Feb 2012 09:56
- Forum: DOS Batch Forum
- Topic: Wait until application finished
- Replies: 16
- Views: 22231
Re: Wait until application finished
Passcrypt.exe doesn't show up in the list of processes, even if it still appears in the Task Manager. Adding PAUSE doesn't show why it doesn't terminate the exe process, but I have the option to click the batch window once more to additionally terminate the process once program is closed. So I have ...
- 26 Feb 2012 09:43
- Forum: DOS Batch Forum
- Topic: Wait until application finished
- Replies: 16
- Views: 22231
Re: Wait until application finished
@alan_b: Well, my friend, I just call it xyz.exe, but it has another name, of course… in this case Passcrypt.exe, a password safe. As I wrote above, I DO want it to terminate the exe from the processes, when I close the program. It does in XP, but not in Win7.
- 24 Feb 2012 14:58
- Forum: DOS Batch Forum
- Topic: Wait until application finished
- Replies: 16
- Views: 22231
Re: Wait until application finished
Thanks guys. Terminate: Click the x button on the upper right. In WinXP the exe disappears from the processes listed in Task Manager, in Win 7 it doesn't. So when I start it again, it next time doesn't request the password as it should, but just reactivates the exe in the process. @foxidrive: thanks...
- 23 Feb 2012 16:35
- Forum: DOS Batch Forum
- Topic: Wait until application finished
- Replies: 16
- Views: 22231
Re: Wait until application finished
Yes, it is the catch - it just continues waiting even though I terminate xyz.exe.
There may probably not be that simple a solution...
There may probably not be that simple a solution...
- 23 Feb 2012 15:09
- Forum: DOS Batch Forum
- Topic: Wait until application finished
- Replies: 16
- Views: 22231
Wait until application finished
I wish to run a program that doesn't unload its exe from the services (in Task Manager), for which purpose I added a taskkill command: @echo off start "%~1" C:\Folder\xyz.exe "%~1" TASKKILL /F /IM "xyz.exe" exit Logically, it doesn't work because it immediately turns it...
- 25 Sep 2010 04:16
- Forum: DOS Batch Forum
- Topic: Open doc file in Winword via a batch file
- Replies: 7
- Views: 12567
Re: Open doc file in Winword via a batch file
Thanks, I will suggest to my friend to try this.
- 25 Sep 2010 03:31
- Forum: DOS Batch Forum
- Topic: Open doc file in Winword via a batch file
- Replies: 7
- Views: 12567
Re: Open doc file in Winword via a batch file
Thanks! But it seems that I need to explain why I delete ~$Normal.dot. This is a backup of normal.dot that Word makes when running and that normally disappears when Word is terminated. It in rare cases happens that it is not deleted (for example, after a crash), and if not, it may lead to a modifica...
- 25 Sep 2010 02:27
- Forum: DOS Batch Forum
- Topic: Open doc file in Winword via a batch file
- Replies: 7
- Views: 12567
Re: Open doc file in Winword via a batch file
This file, a bit modified, works fine in my XP Pro. But a friend of mine tried it in Windows 7 and it didn't work well, even written without the "traditonal" 8+3 format: @echo off if exist C:\"Documents and Settings"\"[your name]"\"Application Data"\"Micr...
- 12 Sep 2010 15:29
- Forum: DOS Batch Forum
- Topic: Open doc file in Winword via a batch file
- Replies: 7
- Views: 12567
Re: Open doc file in Winword via a batch file
That works just fine!
Thanks a lot!
batchelor
Thanks a lot!
batchelor
- 12 Sep 2010 09:14
- Forum: DOS Batch Forum
- Topic: Open doc file in Winword via a batch file
- Replies: 7
- Views: 12567
Open doc file in Winword via a batch file
Hello! I am not trained in batch programming... In my Windows XP Pro SP3 I sometimes noticed that normal.dot was changed in a way I didn't want. So I wrote this batch to always load a backed-up version of normal.dot when starting Winword 2003: @echo off del D:\Docume~1\janeri~1\Applic~1\Micros~1\Tem...