Search found 66 matches
- 20 Aug 2012 06:25
- Forum: DOS Batch Forum
- Topic: Change in script
- Replies: 5
- Views: 3797
Re: Change in script
You need also to check that the user don't choose zero
- 20 Aug 2012 06:08
- Forum: DOS Batch Forum
- Topic: Change in script
- Replies: 5
- Views: 3797
Change in script
SET /P IP_INDEX="Please Enter IP index:[1..5]"
if %IP_INDEX% > 5 echo error
I want that if the user choose number grater then 5 it will output you need to choose number between 1 and 5 and print again
Please Enter IP index:[1..5]
if %IP_INDEX% > 5 echo error
I want that if the user choose number grater then 5 it will output you need to choose number between 1 and 5 and print again
Please Enter IP index:[1..5]
- 15 Aug 2012 12:10
- Forum: DOS Batch Forum
- Topic: What's goot wrong in this script?
- Replies: 11
- Views: 6317
Re: What's goot wrong in this script?
Why it's working like that,it's not going line by line?
- 15 Aug 2012 11:32
- Forum: DOS Batch Forum
- Topic: What's goot wrong in this script?
- Replies: 11
- Views: 6317
Re: What's goot wrong in this script?
Any explanation what's wrong in my script?
- 15 Aug 2012 10:25
- Forum: DOS Batch Forum
- Topic: What's goot wrong in this script?
- Replies: 11
- Views: 6317
Re: What's goot wrong in this script?
I add the ) in the end and it always print "not need to add"
What I need to change?
What I need to change?
- 15 Aug 2012 09:31
- Forum: DOS Batch Forum
- Topic: What's goot wrong in this script?
- Replies: 11
- Views: 6317
What's goot wrong in this script?
I have a script and I'm not understanding why it's not working.\ I check if file exist If yes I check for a string in this file if it not there i want to add some lines to this file. set good_file=e:\FileName.txt IF NOT EXIST "%good_file%" ( echo filename. missing. ) ELSE ( findstr "c...
- 23 Jul 2012 23:06
- Forum: DOS Batch Forum
- Topic: Batch script to fix wmi - urgent
- Replies: 48
- Views: 33746
Re: Batch script to fix wmi - urgent
I understand the issue of the tab from the beginning but it still give the same result(not working like I post the screen output).
- 23 Jul 2012 05:18
- Forum: DOS Batch Forum
- Topic: Batch script to fix wmi - urgent
- Replies: 48
- Views: 33746
Re: Batch script to fix wmi - urgent
I didnt understand what you mean with the tab?
- 22 Jul 2012 23:42
- Forum: DOS Batch Forum
- Topic: Batch script to fix wmi - urgent
- Replies: 48
- Views: 33746
Re: Batch script to fix wmi - urgent
That what I got on the screen now: ======================================== = Checking File = ======================================== C:\WINDOWS\system32\wbem\wbemcomn.dll C:\WINDOWS\system32\wbem\wmiutils.dll Done ======================================== = Disabling WinMgmt Servic = ==============...
- 22 Jul 2012 12:05
- Forum: DOS Batch Forum
- Topic: Batch script to fix wmi - urgent
- Replies: 48
- Views: 33746
Re: Batch script to fix wmi - urgent
The one that abc0502 wrote.
see on page 2.
In genarl it working just the delete reg.txt not working and i get the error like
i mention before.
see on page 2.
In genarl it working just the delete reg.txt not working and i get the error like
i mention before.
- 22 Jul 2012 08:02
- Forum: DOS Batch Forum
- Topic: Batch script to fix wmi - urgent
- Replies: 48
- Views: 33746
Re: Batch script to fix wmi - urgent
Hi
It's seems that the deletion of the file(reg.txt)
didn't succeed what I can do in order to fix it?
Thanks in advance...
It's seems that the deletion of the file(reg.txt)
didn't succeed what I can do in order to fix it?
Thanks in advance...
- 06 Jul 2012 05:34
- Forum: DOS Batch Forum
- Topic: Batch script to fix wmi - urgent
- Replies: 48
- Views: 33746
Re: Batch script to fix wmi - urgent
I want to add to the script a wmi qeury (wmic) in the begining and if it success to go out the script.
(I want it always to run and fix the problem only if it's necessary).
Thanks...
(I want it always to run and fix the problem only if it's necessary).
Thanks...
- 03 Jun 2012 05:18
- Forum: DOS Batch Forum
- Topic: Writing to a text file
- Replies: 4
- Views: 3470
Re: Writing to a text file
I don't need it it web browser just to manipulate the text file itself
- 03 Jun 2012 02:20
- Forum: DOS Batch Forum
- Topic: Writing to a text file
- Replies: 4
- Views: 3470
Writing to a text file
Hi
I have a program that writing data to a txt file.
How can I manipulate the data output in the txt file (Bold text,text in color...)?
Thanks in Adavnce.
I have a program that writing data to a txt file.
How can I manipulate the data output in the txt file (Bold text,text in color...)?
Thanks in Adavnce.
- 03 Jun 2012 01:16
- Forum: DOS Batch Forum
- Topic: Batch script to fix wmi - urgent
- Replies: 48
- Views: 33746
Re: Batch script to fix wmi - urgent
I got for the command that you ask:
00000
00000