Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.bat file doesn't work

Status
Not open for further replies.

Timbooo

IS-IT--Management
Sep 25, 2006
2
DE
Hi there,

i'm from germany so I hope you excuse me my bad english!

I have to remove a program, but it is not possible to remove it with the normal deinstallation. There are still some files which are not be removed with the deinstaller.

The content of my batch file looks like this:

del /F /S /Q "c:\IKOL-OWI"
del /F /S /Q "%ALLUSERSPROFILE%\STARTM~1\PROGRA~1\IKOL-OWI"
exit 0


If I execute this file manually on the workstation where the files should be deleted, everthing is fine, but it doesn't work via SMS!!??!!

Does anyone got a hint or another way to delelte these files??

Thanks a lot!
Tim
 
Hi!

So - the Batch doesn't run or it just doesn't do the job via SMS?
We work a lot with batch-files and it works perfectly. You only have to set the following parameters in programs in the environment tab:
-wether or not a user is logged on
-run with administrative rights
and:
-requires a drive letter

Without a drive letter the program won't work!

Greetings from Austria,
Gerhard
 
I've already found a way to distribute it.

Thanks a lot!

Tim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top