You mean like this ?
Sorry i ve just start learning vbs.... can you explain it...
Dim LocalAppData, WshShell, objFSO
Set WshShell = CreateObject("Wscript.Shell")
Set objFSO = CreateObject("Scripting.FileSystemObject")
LocalAppData = WshShell.ExpandEnvironmentStrings("%tmp%")...
ok, in Win 7 it works fine....
i think i ve the wrong variable für XP %appdata% do not work....
what is the variable for this string:
"C:\Documents and Settings\Administrator\Local Settings\Application Data
@PHV : sorry i dont understand...
i want to write a script that runs on WinXP 32 Bit and Win7 64 Bit.
It should delete the file "preferences" in the profile
WinXP
"C:\Documents and Settings\Administrator\Local Settings\Application Data\Google\Chrome\User Data\Default\Preferences"
or
Win7...
Hello together,
Can anybody help me at a VBScript?
The following:
In principle, whether a certain *. exe runs shall be checked.
A message box shall be distributed if in the message Box click yes, that one of the users shall close the Program and then on Ok.
The exe is actually closed...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.