Search found 19 matches

by RedEyedRocker
26 Mar 2017 13:11
Forum: DOS Batch Forum
Topic: [HELP] Batch - Read File's Specific Data
Replies: 4
Views: 3517

Re: [HELP] Batch - Read File's Specific Data

aGerman wrote:You will get the command reference if you execute command /? (e.g. for /?) in a CMD window.
We also have a Command Index here at DosTips
http://www.dostips.com/DosCommandIndex.php

Steffen


Yeah, I wanted the reference on a website rather than on the console.
by RedEyedRocker
26 Mar 2017 13:04
Forum: DOS Batch Forum
Topic: [HELP] Batch - Read File's Specific Data
Replies: 4
Views: 3517

Re: [HELP] Batch - Read File's Specific Data

"Version:" and "4.2" are separated by a space (which is one of the default delimiters of a FOR /F loop). You need the 2nd token (substring). for /f "usebackq tokens=2" %%i in ("Version.txt") do set "version=%%i" Steffen Great! Thanks for the help! C...
by RedEyedRocker
26 Mar 2017 11:34
Forum: DOS Batch Forum
Topic: [HELP] Batch - Read File's Specific Data
Replies: 4
Views: 3517

[HELP] Batch - Read File's Specific Data

Hello guys! I just wanted to know if there's any possible way to read a file's specific data like say if I wanted to get only the float value from a file like " Version.txt " which contains the following data:- Version: 4.2 So as you can see, there is a string " Version: " and a ...
by RedEyedRocker
26 Mar 2017 11:26
Forum: DOS Batch Forum
Topic: Redirect to file escaping all special characters?
Replies: 5
Views: 4820

Re: Redirect to file escaping all special characters?

SIMMS7400 wrote:Chill, RER.


Do you think I'm pissed off to tell to me to calm down? That was typed in full caps because I was very glad and it was really helpful for me.
by RedEyedRocker
26 Mar 2017 11:24
Forum: DOS Batch Forum
Topic: [RESOLVED] [ERROR] Batch Script - Unknown Problem
Replies: 8
Views: 6218

Re: [ERROR] Batch Script - Unknown Problem

Figure out your own error by debugging your program properly. Run it from a cmd prompt on turn echo on. That problem was already fixed, read carefully. I'm talking about my another problem. You show me in your thread where someone told you how to debug a batch file properly. You even said in your o...
by RedEyedRocker
26 Mar 2017 04:40
Forum: DOS Batch Forum
Topic: [RESOLVED] [ERROR] Batch Script - Unknown Problem
Replies: 8
Views: 6218

Re: [RESOLVED] [ERROR] Batch Script - Unknown Problem

I found out that you can't protect these with double quotes as it will crash the program: if /p variableExample==1 goto someWhere I guess you wanted to do something like this: if /p "%%variableExample%%" == "1" goto someWhere penpen >> I've already fixed my function. I did the f...
by RedEyedRocker
26 Mar 2017 04:34
Forum: DOS Batch Forum
Topic: SLOW- Possible to speed this up? Wolfram Elementary Cellular Automata
Replies: 14
Views: 11885

Re: Wolfram Elementary Cellular Automata

Sounak@9434 wrote:
RedEyedRocker wrote:
IcarusLives wrote:
I'm sorry.. What?


Sisi Puaat, Gai ko gobar chaat!


Is it hindi? I'm not sure though, not my language.


Nope, it's nothing. Lol!
by RedEyedRocker
25 Mar 2017 22:35
Forum: DOS Batch Forum
Topic: [RESOLVED] [ERROR] Batch Script - Unknown Problem
Replies: 8
Views: 6218

Re: [ERROR] Batch Script - Unknown Problem

Squashman wrote:Figure out your own error by debugging your program properly. Run it from a cmd prompt on turn echo on.


That problem was already fixed, read carefully. I'm talking about my another problem.
by RedEyedRocker
25 Mar 2017 19:42
Forum: DOS Batch Forum
Topic: SLOW- Possible to speed this up? Wolfram Elementary Cellular Automata
Replies: 14
Views: 11885

Re: Wolfram Elementary Cellular Automata

IcarusLives wrote:
RedEyedRocker wrote:This is created using Advanced Batch to Exe Converter which has those functions as well.


I'm sorry.. What?


Sisi Puaat, Gai ko gobar chaat!
by RedEyedRocker
25 Mar 2017 19:35
Forum: DOS Batch Forum
Topic: SLOW- Possible to speed this up? Wolfram Elementary Cellular Automata
Replies: 14
Views: 11885

Re: Wolfram Elementary Cellular Automata

This is created using Advanced Batch to Exe Converter which has those functions as well.
by RedEyedRocker
25 Mar 2017 19:33
Forum: DOS Batch Forum
Topic: Help with making a backup batch file
Replies: 2
Views: 4237

Re: Help with making a backup batch file

Sure, I'm experienced with Batch File Handling, I'm skilled enough for these simple tasks as I've created lots of other functions.
Do you have skype/discord/facebook or anyway for direct messaging you?
If so, private message me your mostly used contact.
by RedEyedRocker
25 Mar 2017 19:11
Forum: DOS Batch Forum
Topic: Files to EXE - Program Pack
Replies: 2
Views: 3854

Re: Files to EXE - Program Pack

Thanks a lot, this is really helpful but can you please provide the source code? I want it for my personal uses.
by RedEyedRocker
25 Mar 2017 18:40
Forum: DOS Batch Forum
Topic: Any volunteers for updating Wikipedia pages
Replies: 1
Views: 2855

Re: Any volunteers for updating Wikipedia pages

Merry xmass everyone. bash and linux are better documented on wikipedia (what a shame...) I suppose here's a good place to search for volunteers for updating wiki pages concerning windows, cmd.exe and batch scripting. Probably this is a good starting point - m For me this will be a lazy task with a...
by RedEyedRocker
25 Mar 2017 18:19
Forum: DOS Batch Forum
Topic: [RESOLVED] [ERROR] Batch Script - Unknown Problem
Replies: 8
Views: 6218

Re: [ERROR] Batch Script - Unknown Problem

I think you have created the above batch using your script linked here . The issue is caused by the (in your case unwanted) spaces at the end of the line: These produce an infinit loop ("always encrypt2" on "if not "%userInput%"=="" goto encrypt2"). You could...
by RedEyedRocker
25 Mar 2017 17:02
Forum: DOS Batch Forum
Topic: [RESOLVED] [ERROR] Batch Script - Unknown Problem
Replies: 8
Views: 6218

[RESOLVED] [ERROR] Batch Script - Unknown Problem

EDITFINAL: FIXED EVERYTHING MYSELF!!! I WORKED MY ASS OFF FOR HOURS CHECK EVERY SINGLE LINE!!! NOW IT WORKS FINE!!! EDIT: My first problem has already been fixed! Thanks to penpen ! But here comes another problem. Everything is fixed but I don't know how to protect these. I tried adding/removing qu...