script to delete start menu folder
I need a wise script to delete one folder from Start Menu/Programs/TEST It has to work under win7 and winXP 32bit.
maybe i just enter the path wrong :(
any help is welcome
maybe i just enter the path wrong :(
any help is welcome
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
bini2082
13 years ago
Posted by:
Lubi.ST
13 years ago
item: Get Environment Variable
Variable=ALLUSERS
Environment=ALLUSERSPROFILE
end
item: Remark
end
item: Set Variable
Variable=PRGFOLDER
Value=%Allusers%\Startmenü\Programme\Autodesk
end
item: Remark
end
item: Check if File/Dir Exists
Pathname=%PRGFOLDER%
Flags=00000100
end
item: Delete File
Pathname=%PRGFOLDER%\*.LNK
Flags=00001100
end
item: Delete File
Pathname=%PRGFOLDER%
Flags=00001100
end
item: End Block
end
this works , i was not sure which path variable would be the best for it
Posted by:
terrysp
13 years ago
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.