Search found 313 matches

by MigrationUser
2021-Jul-14, 10:54 pm
Forum: Windows CMD Shell
Topic: How to list physical drives?
Replies: 0
Views: 4631

How to list physical drives?

01 Jan 2015 11:27 emil7768 How can i list all drives so they show in command prompt like this: \Device\Harddisk0\Partition2 ---------------------------- #2 01 Jan 2015 11:54 npocmaka Save this with .bat/.cmd extension: @if (@X)==(@Y) @end /* JSCRIPT COMMENT ** @echo off cscript //E:JScript //nologo ...
by MigrationUser
2021-Jul-14, 10:11 pm
Forum: Windows CMD Shell
Topic: Renaming multiple sub folders
Replies: 0
Views: 3357

Renaming multiple sub folders

29 Mar 2015 14:44 hozza how to rename multiple folders example: I have folder C:\folder and inside of it i have sub folders: folder1, folder2, folder3 etc. and all of those folders inside is folder named v1.9.6 and iwant those folders renamed as v1.9.7 how to do it? ---------------------------- #2 2...
by MigrationUser
2021-Jul-14, 9:32 pm
Forum: Windows CMD Shell
Topic: BHX 5.6 now with great encoding
Replies: 0
Views: 2718

BHX 5.6 now with great encoding

{This thread is the culmination of several previous BHX threads about encoding a binary file within a batch file} 14 Apr 2015 14:37 carlos When I create my program bhx it always encode binary data using 16 hexadecimal characters, that is write out 2 bytes for 1 byte. For reduce the output I recommen...
by MigrationUser
2021-Jul-14, 9:21 pm
Forum: Windows CMD Shell
Topic: standard print commands
Replies: 0
Views: 2409

standard print commands

22 Apr 2015 11:48 npocmaka Here I've tried to create a print tool , but as Simon pointed it will be not a universal as it wont work in different language settings. Here are the print commands that I've found in the registry associated with some file extensions (not all have 'print' action) . Can be ...
by MigrationUser
2021-Jul-14, 9:12 pm
Forum: Windows CMD Shell
Topic: for loop with counter
Replies: 0
Views: 1937

for loop with counter

26 Apr 2015 16:00 shayo19 Hello I need to apartial file list (5files) so i wrote the following: Set cnt=1 For /f "tokens=*" %%a in ('dir /b') echo %%a>>list.txt && set /a cnt+=1 && if %cnt%==5 goto end :End When i run the batch the cnt always stays 1 so that the list is the...
by MigrationUser
2021-Jul-14, 9:04 pm
Forum: Windows CMD Shell
Topic: cmd game~ ESCAPE
Replies: 0
Views: 2003

cmd game~ ESCAPE

26 Feb 2015 00:54 landon997 this is a game i have been working on for a while now and i would like to release it to the public its called ESCAPE its really great and has undergone many updates i would like to release all the updates right now but i dont have a paid for mediafire account it will work...
by MigrationUser
2021-Jul-14, 8:04 pm
Forum: Windows CMD Shell
Topic: get current folder only using %~p0
Replies: 0
Views: 2867

get current folder only using %~p0

09 Jul 2015 01:47 NDog Hi there I am looking for some help with getting the parent folder of myscript.cmd only (not full path) I would like to do this avoiding third party util, however if not possible I will use .vbs instead Please note that the below does not work, since I am executing this script...
by MigrationUser
2021-Jul-14, 7:58 pm
Forum: Windows CMD Shell
Topic: breaking the cmd :)
Replies: 0
Views: 3464

breaking the cmd :)

02 Nov 2012 09:30 npocmaka Any idea why this breaks the cmd: @echo off rem do not set new lines at the end or you'll break the breaker echo combobreaker |(>^ This the most fun variation of this.If you'are fast enough with pressing ctrl+c there's a chance to "save" the cmd session ,and you'...
by MigrationUser
2021-Jul-14, 7:51 pm
Forum: Windows CMD Shell
Topic: Cmd input text color
Replies: 0
Views: 3019

Cmd input text color

14 Aug 2015 23:10 Batcher Is there a way to make user input into a batch file black text rather than the color of the text being displayed n the screen ---------------------------- #2 14 Aug 2015 23:13 Batcher For example using the code @ECHO OFF cls Color 02 Echo enter password set/p "ch@ECHO ...
by MigrationUser
2021-Jul-14, 7:44 pm
Forum: Windows CMD Shell
Topic: [Batch Game] Viewpoint in batch file - Developed By Honguito98
Replies: 0
Views: 3204

[Batch Game] Viewpoint in batch file - Developed By Honguito98

23 Sep 2013 19:43 Honguito98 Viewpoint in batch file "This is my first post and I want say something, sorry for my bad english, my native language is spanish, I have one year experience of batch programming. I started to make simple batch utilities like a noob. I practiced very much time and I ...