Yup, i know of that way.
But i want one.bat to be running, and then when i open two.bat it should do it.
No way?
Search found 7 matches
- 26 Jun 2018 07:29
- Forum: DOS Batch Forum
- Topic: Change the influence of one batch file when other one is running
- Replies: 3
- Views: 4846
- 25 Jun 2018 04:24
- Forum: DOS Batch Forum
- Topic: Change the influence of one batch file when other one is running
- Replies: 3
- Views: 4846
Change the influence of one batch file when other one is running
I have two batch files. One.bat, and two.bat. One.bat: @echo off set/p a="> " echo %a% pause exit :secretlabel echo Secret pause exit Right now (for example) one.bat is running, waiting for my input. What i want to do is, when now i open two.bat, it will open secretlabel. You say - you could do that...
- 19 May 2018 01:54
- Forum: DOS Batch Forum
- Topic: How do i return a string from cpp program to caller batch file?
- Replies: 8
- Views: 8923
Re: How do i return a string from cpp program to caller batch file?
I know that way, so it isn't possible to set result variable without putting it into a for loop?
This way isn't possible i guess:
just calling the cpp exe
This way isn't possible i guess:
just calling the cpp exe
Code: Select all
call test arg1 arg2
- 18 May 2018 14:43
- Forum: DOS Batch Forum
- Topic: strange file names
- Replies: 4
- Views: 5491
Re: strange file names
First - how did you already try to rename them?
Did you try the batch way:
Did you try the classic way, right click the file and change the name?
Also, maybe share some screenshots so we can see the names?
- uglyninja
Did you try the batch way:
Code: Select all
ren {insert file name here} {insert new name here}
Also, maybe share some screenshots so we can see the names?
- uglyninja
- 18 May 2018 14:38
- Forum: DOS Batch Forum
- Topic: How do i return a string from cpp program to caller batch file?
- Replies: 8
- Views: 8923
How do i return a string from cpp program to caller batch file?
The title is a bit long, it may sound really long and confusing (maybe not for Aaciini :D ) but, How do i put the result into variable %result% in the caller batch file from c++ program? Is there no other way than saving stdout to a temp file and then reading it with set /p? The way i showed above r...
- 18 May 2018 14:32
- Forum: DOS Batch Forum
- Topic: Any other bat to exe converters/wrappers?
- Replies: 11
- Views: 11419
Any other bat to exe converters/wrappers?
My question is, are there any other bat to exe converter/wrappers out here? I only know of http://www.battoexeconverter.com/ . You may ask, "Why do you need other bat to exe converters when you already have one?". So, i have seen that files converted with this program turn on quite a bit longer than...
- 18 May 2018 14:27
- Forum: DOS Batch Forum
- Topic: What is the easiest way to make a button?
- Replies: 4
- Views: 4558
What is the easiest way to make a button?
What is the easiest way to make a button? I stumbled across many ways to make a button in .bat files, but I'm not professional so i don't understand many of them. So, is there a very easy way to make a button? I want to make a button in the center of the screen with the text "Click Me". If batbox.e...