Search found 84 matches

by Mohammad_Dos
08 Dec 2010 13:37
Forum: DOS Batch Forum
Topic: Hiding programs run from within a batch script
Replies: 8
Views: 10084

Re: Hiding programs run from within a batch script

that program converts .bat (batch) files to .exe you can use the option menu from left side for hide the dos window. this couses your commands become invisible and nobody dont can see those. and you can select an icon for your file for more information notify me you must copy crack file to install d...
by Mohammad_Dos
08 Dec 2010 07:53
Forum: DOS Batch Forum
Topic: please help me to write this
Replies: 11
Views: 11330

Re: please help me to write this

FOR /L %variable IN (start,step,end) DO command [command-parameters] The set is a sequence of numbers from start to end, by step amount. So (1,1,5) would generate the sequence 1 2 3 4 5 and (5,-1,1) would generate the sequence 5 4 3 2 1 set /a num=10 for /l %%a in (2,1,%num%) do echo counter = %%a ...
by Mohammad_Dos
07 Dec 2010 12:02
Forum: DOS Batch Forum
Topic: please help me to write this
Replies: 11
Views: 11330

Re: please help me to write this

ok
thank u
but I dont understand this line:

Code: Select all

for /l %%a in (2,1,%num%) do ...[/b] 


please explain a little about for command in this line
by Mohammad_Dos
06 Dec 2010 02:11
Forum: DOS Batch Forum
Topic: please help me to write this
Replies: 11
Views: 11330

Re: please help me to write this

@echo off if "%1"=="" (set /a num=46) else (set /a num=%1) set /a $q=$r=0 set /a $s=ser=1 for /l %%a in (2,1,%num%) do ( set /a $q=$r set /a $r=$s set /a $s=$q+$r call set "ser=%%ser%%, %%$s%%" ) echo %ser% call serial.cmd 46 46 is maximum thank u a lot !k please expla...
by Mohammad_Dos
05 Dec 2010 10:31
Forum: DOS Batch Forum
Topic: please help me to write this
Replies: 11
Views: 11330

Re: please help me to write this

I dont know too much about dos and batch file commans. please write for me all of that

one of my problems:
how to plus 2 nomber?
for example we have:

Code: Select all

%nom1%=4
%nom2%=6

how to plus them into %nom3% ?

and more problems ...
by Mohammad_Dos
05 Dec 2010 06:19
Forum: DOS Batch Forum
Topic: please help me to write this
Replies: 11
Views: 11330

please help me to write this

Hi,
I want to write this nombers with batch file:

1, 1, 2, 3, 5, 8, 13, 21, ...

and another batch file that I write for example 1000 and batch file write for me thousandth of nombers above.
for example when I write 4 the batch file write 3

thank u
by Mohammad_Dos
04 Dec 2010 08:07
Forum: DOS Batch Forum
Topic: How to standby, Hibernight and swichuser with dos?
Replies: 3
Views: 4821

How to standby, Hibernight and swichuser with dos?

How to standby, Hibernate and swichuser with dos?
by Mohammad_Dos
02 Dec 2010 05:33
Forum: DOS Batch Forum
Topic: How to edit .txt file by batch file?
Replies: 0
Views: 5353

How to edit .txt file by batch file?

Hi I use this command for creat a text file in dos: copy con c:\hi.txt and then I enter the text and press: Ctrl+z for save or echo Hi>c:\hi.txt echo I am mohammad>>c:\hi.txt[/code] and for display it: type c:\hi.txt My Questions: how to edit created file and remove some of texts from it? is exist m...
by Mohammad_Dos
01 Dec 2010 10:43
Forum: DOS Batch Forum
Topic: please explain me this
Replies: 1
Views: 2832

please explain me this

Hi, this is for make a directory with name of date:


Set MM=%date:~4,2%
Set DD=%date:~7,2%
Set YYYY=%date:~-4%
md %YYYY%-%MM%-%DD%


please explain me this


%date:~4,2% ?!!!!!!
%date:~7,2% ???????!!!!!!
%date:~-4% ؟؟؟؟؟؟!!!!
by Mohammad_Dos
20 Nov 2010 12:04
Forum: DOS Batch Forum
Topic: How to go to this directory???
Replies: 8
Views: 7908

Re: How to go to this directory???

thank u very very much
by Mohammad_Dos
20 Nov 2010 04:36
Forum: DOS Batch Forum
Topic: How to copy some files to batch file directory?
Replies: 2
Views: 3597

How to copy some files to batch file directory?

Hi. How to copy some files to directory that runing batch file is in it?

for example I runed a batch file and want copy all files in "D:\new Folder\Pic" to batch file directory
by Mohammad_Dos
20 Nov 2010 04:32
Forum: DOS Batch Forum
Topic: please explain this
Replies: 1
Views: 2826

please explain this

Hi. this lines make a directory with name of date:

Set MM=%date:~4,2%
Set DD=%date:~7,2%
Set YYYY=%date:~-4%

md %YYYY%-%MM%-%DD%


please explain for me this lines
by Mohammad_Dos
19 Nov 2010 07:37
Forum: DOS Batch Forum
Topic: how to make directory with name of date
Replies: 3
Views: 4756

Re: how to make directory with name of date

please explain:

%date:~4,2%
%date:~7,2%
%date:~-4%