Search found 84 matches

by Mohammad_Dos
11 Feb 2012 02:20
Forum: DOS Batch Forum
Topic: i want to change position of batch file window. how?
Replies: 9
Views: 25964

Re: i want to change position of batch file window. how?

is it possible without installing any app?
by Mohammad_Dos
10 Feb 2012 16:38
Forum: DOS Batch Forum
Topic: i want to change position of batch file window. how?
Replies: 9
Views: 25964

i want to change position of batch file window. how?

i want to change position of batch file window. how?
by Mohammad_Dos
09 Feb 2012 08:54
Forum: DOS Batch Forum
Topic: how to add several characters to the name of all files
Replies: 4
Views: 4418

Re: how to add several characters to the name of all files

thank u :wink:
but! is there a way to do this work for all files in the folder with any format?
by Mohammad_Dos
09 Feb 2012 05:03
Forum: DOS Batch Forum
Topic: how to add several characters to the name of all files
Replies: 4
Views: 4418

how to add several characters to the name of all files

i want to add several characters (+++) to name of all files in a folder. i use this:

Code: Select all

ren *.* +++*.*

but names change like these:

new file.txt ------> +++ file.txt
extra.wmv ------> +++ra.wmv

can somebody help me?
by Mohammad_Dos
04 Nov 2011 06:31
Forum: DOS Batch Forum
Topic: numbers in variables
Replies: 16
Views: 14423

Re: numbers in variables

wow! you have very powerful memory! :shock:

is there another way without download any extra file? with dos's own commands
by Mohammad_Dos
04 Nov 2011 03:45
Forum: DOS Batch Forum
Topic: numbers in variables
Replies: 16
Views: 14423

Re: numbers in variables

it does not work for me:

Code: Select all

clc 2 * %pi%
by Mohammad_Dos
03 Nov 2011 00:54
Forum: DOS Batch Forum
Topic: numbers in variables
Replies: 16
Views: 14423

Re: numbers in variables

i want to add float numbers to variables. how? is it possible?
by Mohammad_Dos
02 Nov 2011 12:02
Forum: DOS Batch Forum
Topic: numbers in variables
Replies: 16
Views: 14423

Re: numbers in variables

why it does not work?

Code: Select all

set /a nom=2.335
by Mohammad_Dos
02 Nov 2011 05:00
Forum: DOS Batch Forum
Topic: numbers in variables
Replies: 16
Views: 14423

numbers in variables

i want to save some number in variables. for example: 326598745 or 32.659
how to do it?
by Mohammad_Dos
06 Sep 2011 01:27
Forum: DOS Batch Forum
Topic: how to delete some Data in regedit
Replies: 2
Views: 3234

how to delete some Data in regedit

Hi there
i want to delete all of data in regedit (reg_sz and reg_DWORD) that named for example "green"

how?
by Mohammad_Dos
31 Aug 2011 07:37
Forum: DOS Batch Forum
Topic: how to copy a file in all of directory and subdirectories?
Replies: 1
Views: 2378

how to copy a file in all of directory and subdirectories?

hi there

i want to copy "c:\file.txt" in all of folders in drive D:\

how to do that?
i want to copy it in all of folders. i found a command. but it dont copy the file in folders that have space in their name
by Mohammad_Dos
29 Aug 2011 08:46
Forum: DOS Batch Forum
Topic: "%systemroot%" chages to "C:\windows"
Replies: 8
Views: 12181

Re: "%systemroot%" chages to "C:\windows"

what about this?

Code: Select all

%%a

changes to:

Code: Select all

%a
by Mohammad_Dos
25 Aug 2011 14:15
Forum: DOS Batch Forum
Topic: how to save value of a data in regedit in a variable?
Replies: 3
Views: 3752

Re: how to save value of a data in regedit in a variable?

sorry. i forgot...
name of the data is "InstallDir"
by Mohammad_Dos
25 Aug 2011 09:29
Forum: DOS Batch Forum
Topic: how to save value of a data in regedit in a variable?
Replies: 3
Views: 3752

how to save value of a data in regedit in a variable?

in this key in regedit:
HKLM "SOFTWARE\Eset\ESET Security\CurrentVersion\Info"

there is a data(reg_sz). i want to save value of this data in a variable. how to do that?