Content Type
Profiles
Forums
Events
Everything posted by gunsmokingman
-
Rename File With Current Date? (Batch File?
gunsmokingman replied to phillyman2004's topic in Windows XP
Here is one that will rename a text file to the date, just change the extention to suit your needs. It is based on the script i made for folders by date. This will do only 1 file per folder or directory. This I added A time Code So it Changes -
Including own custom shell32
gunsmokingman replied to Scubar's topic in Unattended Windows 2000/XP/2003
Yes you can add your own custom shell32.dll, I add my own to it. Just make sure it is the latest version of the shell32.dll This is the latest version of shell32.dll -
I use IE6 because it just easier for me to keep it secure by Windows Update. Here Is A 4 page article on this issue for those who care to read about it. This was written by Fred Langa and is called The Pros And Cons Of Firefox Langa Letter: The Pros And Cons Of Firefox
-
Try using system restore and restore it to before you made the changes
-
Help for VB or VBS
gunsmokingman replied to CrescendoBEAt's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Here I will try and break it down what this code does 1:\ This is a Visual Basic Script or VBS for short 2:\ It is saying I am going to start a Command Promt and output the script to a text file Cmd = ("%comspec% /T:9a /c TITLE Check For Folder | cls && Mode 75,25 && Color 9e && dir >>"& SD & "\Temp.txt") 3:\It then start the Command Promt with this line Act.Run(Cmd), 1, True 4:\ Then after the Command Promt Has Completed Then I have It Use VBS The Set Is to shorten Down This CreateObject("Scripting.FileSystemObject") Set Fso = CreateObject("Scripting.FileSystemObject") To Just Fso.OpenTextFile Which Uses This Class to open the text file made in the Command Promt and add the extra lines of text. 5:\ The script then uses the built in sleep function to rest for 3 seconds wscript.sleep 3000 6:\ It then uses the CreateObject("Scripting.FileSystemObject") to delet the file. Orange Is The New Name For The Action Part Of the Command Promt The Advantage of this is it saves a lot of typing. You can use any of Command Promt Built In Functions In this Script. Just Change This dir to any of it functions try Ver This One I Have Added 3 More Command Promt Functions To It.Save This As Cmd.vbs Hope This Helps -
Here is the correct way to change the bitmap in Explorer.exe %systemdrive% = The Partition Windows Is Installed On Make A Folder Called Shell on %systemdrive%\ Copy %systemdrive%\Windows\Explorer.exe To %systemdrive%\Shell Download Resource Hacker Open Explorer.exe in Resource Hacker then replace Bitmap 167 Save the file after it been modified Then use Replacer To replace the Explorer.exe in %systemdrive%\Windows
-
Help for VB or VBS
gunsmokingman replied to CrescendoBEAt's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Try This It A Simple Directory Cmd Save it as Dir.vbs Hope this is what you wanted. -
hmm, a though about F6 not working
gunsmokingman replied to buletov's topic in Unattended Windows 2000/XP/2003
I would think it would not work because longhorn code is completly different from XP. -
the most idiotic idea ever
gunsmokingman replied to maniaq's topic in Unattended Windows 2000/XP/2003
I have never had a problem with that, the sound is good no gaps. Maybe if it was a old machine it might but on my AMD 1.7 and my P4 2.8 no problems. -
the most idiotic idea ever
gunsmokingman replied to maniaq's topic in Unattended Windows 2000/XP/2003
You dont need to use Wpi to play music during the install. Read these threads Play Music Thread 1 Play Music Thread 2 -
Try Changing This To This I Think You Cannot Have Both The Same Name I Am Not 100% Sure On This. Here What Mine Looks Like
-
making arrays in batch
gunsmokingman replied to someuser77's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
I do not know about php, but you can use varibles in cmd. -
making arrays in batch
gunsmokingman replied to someuser77's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Cmd promt I believe cannot handle arrays VBS does handle arrarys. Note : Arrays always start at Zero -
Does your display entry look something like this, and the video card must support the resolution.
-
Batch File Help Pleeze
gunsmokingman replied to Indignity's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
This will set the cd varible for you You can install the app from cd instead of the copy to harddrive.Example -
I have been in a couple betas for Microsoft.
-
WindowsXP Home,Copying User Configurations to
gunsmokingman replied to Insomniac487's topic in Windows XP
Manual Way After Install Is Done When you are installing in Windows on your desktop some programs ask if it just for you or all users, those set them self up in the all user folder if selected.The other install into the specific accounts Your-HD\Documents and Settings\Your Name Here\Start Menu\Programs That is way they are not on other user accounts. -
Here is a link to the file you need I have it package together with Explorer.exe, shell32.dll, Uxtheme.dll I have tested all of them and use them In My Ua CD. MyShell Files
-
Unattended repair installation?
gunsmokingman replied to Wizardry's topic in Unattended Windows 2000/XP/2003
You Have To Add That As A Boot Up Option Open Cmd Promt At The YOUR-LOCATION-OF-XPCD\i386 Then In cmd promt to get a full list of help type in winnt32.exe /? This is what you want to read about /cmdcons Installs the Recovery Console as a startup option on a functioning computer. The Recovery Console is a command-line interface from which you can perform tasks such as starting and stopping services and accessing the local drive (including drives formatted with NTFS). You can only use the /cmdcons option after normal Setup is finished. So the cmd might look like this, dont quote me on this it from my memory. winnt32.exe /cmdcons /noreboot -
Adding Custom Icons to a dvd
gunsmokingman replied to glent's topic in Unattended Windows 2000/XP/2003
Before you burn the dvd asign it a icon this is for shell32.dll Desktop.ini This is if you want to add the icon to the folder I use MicroAngelo to change the icon and make this Desktop.ini -
Try This It Might Help As To The Auto Logon I Dont Use It.
-
You can use vbs to remove the shortcuts. This will remove all shortcuts on the desktop. If you want to remove a specific short cut then change this ( AP & "\Desktop\ *.lnk") to this ( AP & "\Desktop\ NAME-OF-THE-SHORTCUT.lnk") Then save this as RemoveSC.vbs
-
cmd batch file help pls
gunsmokingman replied to possy_99's topic in Unattended Windows 2000/XP/2003
The script I posted works like this if i type in A then it goes to A and runs that part and return to TheLoop. If you type in quit then it will quit. Just cut and paste the code and save as a ANY-NAME-YOU-WANT.cmd To test. -
cmd batch file help pls
gunsmokingman replied to possy_99's topic in Unattended Windows 2000/XP/2003
You need the script to return to where it start from. Here is a example this from one of my old post so mod it to your needs TheLoop Is The start spot and the script returns back to there. -
Cleanup.cmd issue suggestions please
gunsmokingman replied to DLF's topic in Unattended Windows 2000/XP/2003
Here Is A VBS file that does the same as Yzöwl Like His The Drive Does Not Matter Yzöwl nice coding.