Content Type
Profiles
Forums
Events
Everything posted by gunsmokingman
-
This is a updated version Changes 1:\ The Defrag, Clean, Run Both Are Now in the Windows tools Menu 2:\ Change the button Colors This is for XP as there are reports it does not work on W2K not sure about W3k The HTA is saved on %SystemDrive% that it runs from I will look into this but since I do not have a network to test on this might take some time. SystemReport_V4a.exe
-
Thanks you MAVERICKS CHOICE for the nice words Here is a HTA that I makes a Basic Winnt.sif, I have also added a RunOnceEx template maker for either a Hard Drive or CD_DVD install of app. This is the sif it makes Example RunOnceEx Hard Drive Install Example RunOnceEx CD_DVD Install Here is a SFX file for the HTA GsmMkSif.exe
-
excel to access
gunsmokingman replied to sedd_18's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
So how long do you think it would take to do this So what you are saying then is take each file import each one then save each new file. As to scripting if you where to look at most the script at The Hey, Scripting Guy! there is no comments, and beside it up to the person if they want to include comments in a script file. What would you call poor naming convention Fso = createobject("Scipting.FileSystemObject") ObjFso = createobject("Scipting.FileSystemObject") Act = createobject("Wscript.Shell") Act is a shorten for Action are these the poor name you speak of. Since there is no standard for naming things inside of scripts then it up to the individual what name they want to appear in there script. Like IcemanND said If the person has a basic understanding of VBS then it would take a hour or so to write the script then they could reuse that script over and over again. -
excel to access
gunsmokingman replied to sedd_18's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
I do not know if this will help you, as I do not use Excel or Access but there is a lot of script there that may help you out. The Hey, Scripting Guy! Archive: Microsoft Office -
[How-to] Automate drive maintenance - BETA
gunsmokingman replied to GeneralMandible's topic in Windows XP
This is a clean and defrag tool I made it a HTA and uses JS and VBS script. The Thread, to look at the source code What it looks like Down Load -
Vista does not use the Boot.ini any more, W3K, XP, W2k uses the boot.ini. To edit Vista you need to use bcedit that Vista has Example This changes the boot menu for Vista default text for any legacy OS to this bcdedit /set {ntldr} Description "Place the name here" To change the default text on Vista Boot Menu bcdedit /set {current} Description "Place the name here" There are some more option to use with bcedit In Vista open Cmd promt and type in bcedit /?
-
deleting all tmp and log files
gunsmokingman replied to piXelatedEmpire's topic in Unattended Windows 2000/XP/2003
Can you give me a brief overview of the importance of these files (other than windowsupdate.log and edb.log)? Thanks. All I know about those files is the script can not delete them, as why I do not know. Try this script it will make a text file of the files not deleted by the script. -
7.14 GB (7,675,967,488 bytes) 37,135 Files, 6397 Folders
-
deleting all tmp and log files
gunsmokingman replied to piXelatedEmpire's topic in Unattended Windows 2000/XP/2003
A VBS Script to delete the log files in Systemroot and it sub folders. It will not delete these log files Save As DeleteLogFile.vbs -
Here is a VBS script that will intergrate Service Pack 2 and any updates it finds in ANY_HARD_DRIVE:\XPCD. Function 1:\ It searches the local hard drives for either of these files \XPCD\i386\ZONEOC.DL_ \XPCD\i386\WINNT32.EXE 2:\ When found it then intergrates SP2 then it moves SP2 to \XP_Updates 3:\ It then updates any updates in \XPCD then moves them to \XP_Updates 4:\ Makes a text files with a list of updates that got intergrated
-
Add User Hta
gunsmokingman replied to gunsmokingman's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
I have made some changes to the hta. 1:\ Added a Delete User Accounts 2:\ Added some poup up text 3:\ Change the way the text input boxes look. Updated Manage User Tool -
Use The Code Below The Image To Make This One Updated Manage User Tool
-
This means you are not in the beta for Vista so you will not have access to it threw connect.
-
I made a VBS script that removes some of the templates context menu stuff. This removes the briefcase, bmp, doc, ppt, PspImage new templates Link to SFX file of above script
-
Then try it this then it checks for this file win51ip.SP2 This one checks for a file in the i386 folder named ZONEOC.DL_
-
Here a VBS Script that cleans up the right context menu templates. It removes create new briefcase, bmp, doc, ppt, PspImage Notes If you do not want to delete the VBS script then remove the below lines from the script. '/-> DELETES THE VBS FILE Fso.DeleteFile("CleanUpContextMenu.vbs") Here is a SFX file of the above code CleanUpContextMenu.exe
-
Autostart Script
gunsmokingman replied to PuNiC4's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
1:\ You do not have to have this intwarten = 15000 it a wasted line. 2:\ Here is another waste of a line Set oExec = WshShell.Exec("C:\Datei.exe") I left 3 correct ways of doing your script but I gues it was to complex for you to understand. This is the most efficent way of doing it. Option Explicit : WScript.Sleep 15000 : CreateObject("Wscript.Shell").Run("C:\") One single line of code is all you need. -
Autostart Script
gunsmokingman replied to PuNiC4's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
1:\ You had Option Explicit spelled wrong 2:\ You can not have this (>>C:\...<<) 3:\ You can not have this Wscript.CreateObject(>>WScript.shell<<) Try this it count down the seconds left before C:\ opens This sleeps for 15 seconds before C:\ opens Or if you want only 1 line of code -
Here this is build 5219 notice it says Beta 2
-
How about a hta that has all you stuff that you want to install, then you would only have 1 RunOnceCmd to run. I made this HTA as a example, it has a couple of your apps in a Array.