Search found 12 matches

by BILL Dos
20 Dec 2009 05:27
Forum: DOS Batch Forum
Topic: Detect the cd-rom drive letter in batch file..
Replies: 2
Views: 9711

Thanx for the tip Larry .. Seems that all my bottleneck code needed was to include the command set tagfile=\ which in my case i used set tagfile=\win51 and had the win51 file on the root of the CD-ROM Drive with included Installs folder of files. Below is a snippet of my working batch file. @ECHO OF...
by BILL Dos
08 Dec 2009 15:14
Forum: DOS Batch Forum
Topic: Detect the cd-rom drive letter in batch file..
Replies: 2
Views: 9711

Detect the cd-rom drive letter in batch file..

Need to auto-install a bunch of sfx files from a cd-rom drive and not off the hard drive. If anyone has done this let me know. I have a code that runs off the Hard drive but errors out when trying to find the cd-rom drive. @ECHO OFF cls && Color 4f echo |set/p=Date and Current Time: %DATE% &...
by BILL Dos
07 Dec 2009 19:04
Forum: DOS Batch Forum
Topic: Using rd and del commands.
Replies: 4
Views: 5785

You used rd /s /q "C:\temp\"
which is good if your system drive is Always C: but I perfer
doing the rd /s /q "%systemdrive%:\temp\"
That way you can have multiple drives and don't error out.
by BILL Dos
02 Dec 2009 21:07
Forum: DOS Batch Forum
Topic: Using special characters when renaming file
Replies: 2
Views: 4618

special characters and symbols would need the help of a 3rd party app just google around and should be something out there to help u ..
by BILL Dos
02 Dec 2009 21:02
Forum: DOS Batch Forum
Topic: How to register MUltiple DLL's in one command??
Replies: 2
Views: 11218

Thanks for the help...
go it working now.. just love access is denied errors.. lol
by BILL Dos
02 Dec 2009 19:06
Forum: DOS Batch Forum
Topic: Application Installer with user parameter prompts
Replies: 3
Views: 5586

Got it figured out..

Thanks! for the reply Larry, but after much head scratching solved my problem.. Turns out that all I needed to do was use the MENU label So instead of GOTO :EOF I used GOTO :MENU and then it worked like a charm! even Added a few more apps afterwards to run then converted with a batch compiler to .ex...
by BILL Dos
02 Dec 2009 11:27
Forum: DOS Batch Forum
Topic: deleting Temp folder and temporary inet folder
Replies: 1
Views: 3998

What OS are you using? Here's a working code that works for me when doing a clean install of XP. @ECHO OFF REM Automatically clean-up "Temp" , "Internet" and "History" files. Rem Gives Full Rights to ALL "Local Settings" Folders. ECHO Y| cacls "%systemdri...
by BILL Dos
29 Nov 2009 15:34
Forum: DOS Batch Forum
Topic: Application Installer with user parameter prompts
Replies: 3
Views: 5586

Application Installer with user parameter prompts

Hey Guys , Have written a batch installer with 3 parameter prompts to install 1 of 3 .exe files, which works and installs the app but at end of batch instead of stopping and saying congrats the console just flashes and disappears off the screen, any Help would be greatly appreciated. Thanks!, Bill @...
by BILL Dos
19 Oct 2009 10:07
Forum: DOS Batch Forum
Topic: How to register MUltiple DLL's in one command??
Replies: 2
Views: 11218

How to register MUltiple DLL's in one command??

Doing a Unattended Install of Windows 7 and I need to register multiple .dll files in the System32 directory. Without listing each .dll one by one does anyone have a Batch .cmd file that would do this automatically??
by BILL Dos
28 Sep 2009 15:19
Forum: DOS Batch Forum
Topic: > Help with calculate the time the script took to complet
Replies: 2
Views: 4408

** Problem Fixed **

Thanks avery_larry made some minor changes on your code and works great! @ECHO OFF cls && Color 1E REM | Sets date and timestamp in 12 hr format on same line | ECHO/|set /p =%DATE% & %TIME/t echo. echo. SET USBDRIVE= REM +==================================================+ REM | Finding ...
by BILL Dos
24 Sep 2009 16:31
Forum: DOS Batch Forum
Topic: > Help with calculate the time the script took to complet
Replies: 2
Views: 4408

> Help with calculate the time the script took to complet

I am using the below script and it works good in printing out the start and end time of running my scripts but I would also like to have it do the math and say how many minutes it took to complete etc. If anyone has any input on this i would greatly appreciate it.. @echo off set starttime=%time% ec...
by BILL Dos
23 Sep 2009 06:30
Forum: DOS Batch Forum
Topic: **Need help with Diskpart in batch file to make USB bootable
Replies: 1
Views: 9523

** Tested and Working **

Insert thumb drive go to run box or command line and type in diskmgmt.msc and jot down disk# and usb drive letter. open up txt file and input disk# on the Select Disk option and drive letter on the Assign Letter option. Use the example below for your script file (In this exampple I used Disk 2 and F...