masca90020
New member
- Local time
- 1:26 PM
- Messages
- 24
Hi,
I want to make a bat file and to use informations from a second one, but i don't want to use all the second batch file.
I want to be able to use just a portion of the second one.
First batch:
echo off
cls
del *.tmp
Second batch:
echo off
cls
:1
del *.txt
:2
del *.doc
This is just an example. I just want to edit the first bat file to use only :1 from inside the second one.
Is it possible even ?
And another thing. I just want to add color to a single line in a bat file, not to the whole file. Just to a single word. How is this done ? For an entire file I know, but only for one word I don't.
I want to make a bat file and to use informations from a second one, but i don't want to use all the second batch file.
I want to be able to use just a portion of the second one.
First batch:
echo off
cls
del *.tmp
Second batch:
echo off
cls
:1
del *.txt
:2
del *.doc
This is just an example. I just want to edit the first bat file to use only :1 from inside the second one.
Is it possible even ?
And another thing. I just want to add color to a single line in a bat file, not to the whole file. Just to a single word. How is this done ? For an entire file I know, but only for one word I don't.
My Computer
At a glance
Windows 7 Ultimate x64
- OS
- Windows 7 Ultimate x64