Need a script to delete folder & file
Hi,
i need a script to delete a file and folder from ALLUSERS of start menu...
C:\Documents and Settings\All Users\Start Menu\Programs\abc\xyz\pqr.lnk
i need a script to delete a file and folder from ALLUSERS of start menu...
C:\Documents and Settings\All Users\Start Menu\Programs\abc\xyz\pqr.lnk
0 Comments
[ + ] Show comments
Answers (6)
Please log in to answer
Posted by:
dyehardfan
13 years ago
Posted by:
anonymous_9363
13 years ago
Posted by:
perk
13 years ago
Posted by:
perk
13 years ago
Posted by:
captain_planet
13 years ago
Posted by:
JonHall
13 years ago
ORIGINAL: cserrins
as a .bat file or command line you can do
rd "C:\Documents and Settings\All Users\Start Menu\Programs\abc\xyz" /S /Q
/Q is quiet and /S is to remove everything within that directory including the directory itself.
----
Corey,
I've tried using a variation of rd to delete a script's dependency folder without any luck. I like to keep the Package and Downloads folders clear, especially when the script has to download installers. Any ideas?
Launch €$(KBOX_SYS_DIR)\cmd€ with params €œrd /S /Q $(KACE_DEPENDENCY_DIR)€Â.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.