Search found 233 matches

by Dos_Probie
06 Jun 2015 04:19
Forum: DOS Batch Forum
Topic: Batch for Mac And Computer name to a file
Replies: 4
Views: 5997

Re: Batch for Mac And Computer name to a file

i want the text file to have computername macaddress but i will prefer if possible to be write to excel file but if not to a text file will ok for now Thanks once more Late to the party and you did not say if you wanted the mac of your lan or wireless adapter but here is a simple example. ~DP @Echo...
by Dos_Probie
08 Apr 2015 04:45
Forum: DOS Batch Forum
Topic: any way to attach a bat file to windows installation?
Replies: 4
Views: 6188

Re: any way to attach a bat file to windows installation?

If your a 'hands on' type then you can use Win ToolKit to integrate your updates and drivers to your image file, then use the SetupComplete.cmd method to install applications automatically at the end of the OOBE process/before the first logon.
http://www.majorgeeks.com/files/details ... olkit.html
http://www.mydefrag.com/forum/index.php?topic=3244.0
~DP
by Dos_Probie
10 Feb 2015 04:51
Forum: DOS Batch Forum
Topic: Pin programs via script or un pin
Replies: 19
Views: 31989

Re: Pin programs via script or un pin

Make sure that the batch and vbs are together and run from the same directory.
I just made shortcut off desktop with W7 and W8.1 as admin and no issues.
by Dos_Probie
09 Feb 2015 08:07
Forum: DOS Batch Forum
Topic: Pin programs via script or un pin
Replies: 19
Views: 31989

Re: Pin programs via script or un pin

Krump wrote:Sorry but your script isn't work. I change in bat only directory and aplication name.


You did not specify what OS Version, but has always worked for me on Windows 7 and 8.1.' Why don't you POST your bat file with directory path and app so we can look at it..
~DP
by Dos_Probie
08 Feb 2015 13:38
Forum: DOS Batch Forum
Topic: Delay commands question?
Replies: 2
Views: 4197

Re: Delay commands question?

Thanks for the info, so I guess you could say then that with "choice" you have "more choice's".
~DP :mrgreen:
by Dos_Probie
08 Feb 2015 10:21
Forum: DOS Batch Forum
Topic: Delay commands question?
Replies: 2
Views: 4197

Delay commands question?

Can someone explain the following delay commands which appear to do the same thing as far as advantages or disadvantages.
~DP

Code: Select all

timeout /t 5 >nul
choice /n /t 5 /d y >nul
by Dos_Probie
08 Feb 2015 09:45
Forum: DOS Batch Forum
Topic: Batch renaming issue
Replies: 8
Views: 7876

Re: Batch renaming issue

Thanks for the info on your Jren utility, you wouldn't happen to have a download of the file would you? ~DP You could use my JREN.BAT utility that renames via regular expression search and replace. It is pure script that runs on any Windows machine from XP onward. jren "-Chapter (\d+\.doc)$&quo...
by Dos_Probie
07 Feb 2015 19:51
Forum: DOS Batch Forum
Topic: Pin programs via script or un pin
Replies: 19
Views: 31989

Re: Pin programs via script or un pin

Here is a batch and vbs that I have been using successfully to do the pinning or unpinning that may work for you. Note the 1 to pin or 0 to Unpin, revise as needed. ~DP Batch Script @echo off %~d0 cd %~d0%~p0 :: PIN SHORTCUTS TO TASKBAR.. WScript.exe "%~dp0Pin.vbs" "%programfiles%\CCl...
by Dos_Probie
28 Sep 2014 04:56
Forum: DOS Batch Forum
Topic: Replacement Commands For Windows 7 (x64)
Replies: 26
Views: 22423

Re: Replacement Commands For Windows 7 (x64)

Yep, when you upgraded to x64 NT based it looks like you no longer need debug.com or exe since it only works on 32bit as well. If you have NT, you should learn how to use the :: switches in the FOR command so you can avoid this! :: The use of DEBUG to extract data from lines is only :: needed under ...
by Dos_Probie
27 Sep 2014 07:12
Forum: DOS Batch Forum
Topic: Replacement Commands For Windows 7 (x64)
Replies: 26
Views: 22423

Re: Replacement Commands For Windows 7 (x64)

OP said that "resolving this is of utmost importance" and Still after Several requests for his Batch Code He Still has not responded back with it..
~DP
by Dos_Probie
26 Sep 2014 11:43
Forum: DOS Batch Forum
Topic: Ram memory Question? [ SOLVED ]
Replies: 26
Views: 26360

Re: Ram memory Question? [ SOLVED ]

Yeah the delay is slow compared to the instant results of Wmic..You can always use the Set command with /A switch to output in GB, Which works when using multi-bank memory. ~DP Echo(Via SystemInfo in GB/.. For /F "Tokens=4" %%A In ('SystemInfo 2^>Nul^|Find "Total Physical Memory"...
by Dos_Probie
26 Sep 2014 09:03
Forum: DOS Batch Forum
Topic: Replacement Commands For Windows 7 (x64)
Replies: 26
Views: 22423

Re: Replacement Commands For Windows 7 (x64)

Just save your batch files to desktop to error check: >> right-click and choose edit >> Once open just click on a blank area and do Ctrl+F to bring up the Find box >> Type in the problem words such as ie. nope, rw-r etc. >> then look at your script for the errors lines. ~DP debug' is not recognized ...
by Dos_Probie
26 Sep 2014 07:52
Forum: DOS Batch Forum
Topic: Ram memory Question? [ SOLVED ]
Replies: 26
Views: 26360

Re: Ram memory Question? [ SOLVED ]

Thanks Compo for the updated Wmic script allowing for larger RAM, my Desktop now shows as "Total Installed RAM: 32 GB (34359738368 bytes)", And as I am sure you already know you can also use Systeminfo (about 3-5 sec delay) which calcultes your total ram in MB..and also works on both ARM a...
by Dos_Probie
25 Sep 2014 18:39
Forum: DOS Batch Forum
Topic: Ram memory Question? [ SOLVED ]
Replies: 26
Views: 26360

Re: Ram memory Question? [ SOLVED ]

Thanks for working on this and the updated wmic script Compo.. My Arm system single slot ram is now reading correct as 2 GB and my dual slot lap of windows 8 also is correct showing 16 GB but my desktop which has four sticks of 8 GB each is showing (Total Installed RAM: 33 GB (34359738368 Bytes)) in...
by Dos_Probie
24 Sep 2014 19:15
Forum: DOS Batch Forum
Topic: Ram memory Question? [ SOLVED ]
Replies: 26
Views: 26360

Re: Ram memory Question? [ SOLVED ]

How about good old systeminfo H:\>systeminfo | findstr /C:"Total Physical Memory" Total Physical Memory: 5,072 MB Yep Or This.. @Echo Off & SetLocal echo Via SystemInfo.. echo. For /F "Tokens=4*" %%G In ('SystemInfo 2^>Nul^|Find ^"Total Physical Memory^"') Do (Set ...