Content Type
Profiles
Forums
Events
Everything posted by gunsmokingman
-
what's wrong with RunOnceEx?
gunsmokingman replied to oak777's topic in Unattended Windows 2000/XP/2003
I would check to make sure the path is correct for messenger. As to the klite, you have it install from a cmd, there could be a problem with that. -
It does not work from the sfx also, but I tried just the script by it self and it removed the folder.
-
Rename the file wscript.exe is the name of a windows file. Also you will have to add these line to the script.
-
Save the script that I posted with the correct folder path. Then right click the file, select add to archive From there check the Create SFX archive Then press the ok button Then right click the new SFX file, select open with winrar Select the comments button then paste the SFX code. If you would post what you wanted cleanup with full paths. I would make you a script and sfx for you to use
-
Here a suggestion make a winrar sfx file, with this script in it. This then extracts the script to your temp folder then it runs the delete stuff. Save as Cleanup.vbs Winrar SFX This will delete the folder if it exists and then delete the script file in the temp folder.
-
Shutdown scripts
gunsmokingman replied to Bigtime5000's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Here is a vbs script that you might be able to use. Since it using WMI you can run it against remote machines. -
Add User Hta
gunsmokingman replied to gunsmokingman's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
The new one is a Vb.net app the hta is posted a couple of post up. Thank you MC I have made some layout changes and added the ability to disable or enable Local User Accounts. UsersManager.exe -
Add User Hta
gunsmokingman replied to gunsmokingman's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
I have fixed it now so the accounts are added now. If you have any suggestion about what to add please post. This requires net framework to be install. ManageUser.exe -
Here is a link to where I learned about vbs scripting, the articles are very well written and all the scripts are fully explained in details. The Hey, Scripting Guys! As to your other post I was unsure if you wanted the files deleted after they have been copy to the upload folder If you wanted to delete the file after it been copy to the upload folder then add this line to the script.
-
[Req] Script
gunsmokingman replied to anthony_field's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Ok I added a check to see if the file is not in the end location Save As WhatEver.vbs Since I am not sure what you want I have left a Comment out part of the script that will copy the file as it original name. It set to copy the file as lock.dat Use this to copy all the files in the parent folder as lock.dat Use this to copy the file with it original name This script will overwrite the lock.dat each time it loops threw the collection. So a move file is not needed. -
[Req] Script
gunsmokingman replied to anthony_field's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Try this script just place it in the main folder. It goes threw the folder every 90 seconds, when it has ran 10 times it will ask you to continuue or quit. You have to have this folder C:\lock_upload\ or change StrDestination = "C:\lock_upload\" this to match the end location. -
Change this To this When I wrote this up I forgot the & before the NewName(1) in the line. Edit you could also have the line look like this Edit I made a change in the script, I added a counter to it. The number get added to the name, this will prevent you from only ending up with 1 file in the destination folder.
-
How? I'm using XP's standard command prompt (not PowerShell.) Try this vbs script it has 2 examples of how to get the desktop path. Save As DesktopPath.vbs
-
file listing
gunsmokingman replied to sweept's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Since cmd promt is not my best, here is a VBS script that should do what you want. Save As ListDir.vbs -
Maybe try this start msconfig