Search found 21 matches

by karzer
12 Aug 2011 05:32
Forum: DOS Batch Forum
Topic: Delete character
Replies: 1
Views: 3045

Delete character

Hi, I have a code like the following


Code: Select all

set _command_fsrm=FileScrn.exe screen list
FOR /f "tokens=2 delims=((" %%G IN ('%_command_fsrm% ^|find "Block File"') DO SET y=%%A
SET _result=%_test:)=% echo %_result%


result: Block)

")" how to delete ?
by karzer
12 Aug 2011 03:50
Forum: DOS Batch Forum
Topic: Find command most recently created file
Replies: 4
Views: 5580

Re: Find command most recently created file

Problem solved...

Thank you very much for your interest
by karzer
10 Aug 2011 03:11
Forum: DOS Batch Forum
Topic: Find command most recently created file
Replies: 4
Views: 5580

Re: Find command most recently created file

Thank you very much for your interest, just want to get some value, how can I do?

I want this value is only 73



now I have received results

Code: Select all

---------- D:\oracle.TXT: 73
by karzer
09 Aug 2011 05:41
Forum: DOS Batch Forum
Topic: Batch convert to vbs... Help
Replies: 0
Views: 5680

Batch convert to vbs... Help

Hi, how to write vbs.


Code: Select all

@echo off
set _command_fsrm=FileScrn.exe screen list
FOR /f "tokens=5 delims=( " %%G IN ('%_command_fsrm% ^|find "sak_sya"') DO echo %%G


My English is very poor
by karzer
09 Aug 2011 02:48
Forum: DOS Batch Forum
Topic: Find command most recently created file
Replies: 4
Views: 5580

Find command most recently created file

Hi, I'm using this script on my server type D: \ 09082011.txt | find / c "aborted" the following problem, every day here consists of a new file, the most recently created file to use this command. How can I do? type D: \ ?????. txt | find / c "aborted" Date created from last
by karzer
25 Nov 2010 07:03
Forum: DOS Batch Forum
Topic: When I cancel the batch via Ctrl+C The first row deleted
Replies: 2
Views: 4394

Re: When I cancel the batch via Ctrl+C The first row deleted

Thank you, but I pexec it (remcomm) Deleting the first line with the distance I run.
I wonder how the function of ctrl + c to cancel and quit.

remcomm / / host batc_file
by karzer
25 Nov 2010 05:59
Forum: DOS Batch Forum
Topic: When I cancel the batch via Ctrl+C The first row deleted
Replies: 2
Views: 4394

When I cancel the batch via Ctrl+C The first row deleted

When I cancel the batch via Ctrl+C. The first row of the sheet is being deleted(route print). How can I perevent deletion?

Code: Select all

@echo off
set /p IP=
FOR /L %%G IN (0,1,255) DO route delete %IP%.%%G
exit
by karzer
09 Nov 2010 02:14
Forum: DOS Batch Forum
Topic: Route delete ip
Replies: 3
Views: 5201

Re: Route delete ip

Thanks

Code: Select all

FOR /L %%G IN (1,1,255) DO route delete 10.0.1.%%G 
by karzer
09 Nov 2010 02:05
Forum: DOS Batch Forum
Topic: Route delete ip
Replies: 3
Views: 5201

Re: Route delete ip

I want to delete the lines from 1 to 255

10.0.1.1
10.0.1.14
10.0.1.255
by karzer
08 Nov 2010 07:19
Forum: DOS Batch Forum
Topic: Route delete ip
Replies: 3
Views: 5201

Route delete ip

I want to delete with the route delete ip of many How can we ? 10.0.1.13 255.255.255.255 10.100.100.1 10.0.1.12 255.255.255.255 10.100.100.1 10.0.1.11 255.255.255.255 10.100.100.1 10.0.1.10 255.255.255.255 10.100.100.1 route delete 10.0.1.13 This ok route delete 10.0.1.* How can we I'm sorry for my ...
by karzer
01 Sep 2010 04:38
Forum: DOS Batch Forum
Topic: Cpu usage under dos
Replies: 1
Views: 4165

Cpu usage under dos

Hi,
How dos can see the cpu usage? Cpu usage with taskmgr.exe in the interface looks, but I need to see under dos, so I can write the script.

thank you
by karzer
19 Aug 2010 05:46
Forum: DOS Batch Forum
Topic: Batch format convert
Replies: 5
Views: 6691

Re: Batch format convert

Code: Select all

@echo off
cscript quota.vbs //nologo >quota.txt
FOR /F "delims=, tokens=2" %%G IN (quota.txt) DO @echo %%G | findstr User



I just want my code to convert vbs format.
I know very little English, would benefit from the google translation page.
I apologize for my writing
by karzer
19 Aug 2010 05:28
Forum: DOS Batch Forum
Topic: Batch format convert
Replies: 5
Views: 6691

Re: Batch format convert

http://img708.imageshack.us/img708/9551/quota.jpg setlocal enabledelayedexpansion FOR /F "delims=, tokens=2" %%G IN ('type quota.txt ^| findstr /i User') DO ( set /a counter+=1 set line!counter!=%%G call set "line!counter!=%%line!counter!:~6,-1%%" ) :: Display catalog. set line ...
by karzer
19 Aug 2010 04:57
Forum: DOS Batch Forum
Topic: Batch format convert
Replies: 5
Views: 6691

Re: Batch format convert

No, my problem as the first code to convert to vbs.
by karzer
19 Aug 2010 04:19
Forum: DOS Batch Forum
Topic: Batch format convert
Replies: 5
Views: 6691

Batch format convert

I have used a batch, but the program does not support this use case, I wonder how we can convert vbs format? @echo off cscript quota.vbs //nologo >quota.txt FOR /F "delims=, tokens=2" %%G IN (quota.txt) DO @echo %%G | findstr User Thank you very much quota.vbs strComputer = "." S...