Search found 66 matches

by mor.bas
22 Jul 2013 00:42
Forum: DOS Batch Forum
Topic: Script changed by input
Replies: 9
Views: 6654

Script changed by input

hi, I need to changed my script like this: i have a function that doing things and i want it to react like this: I'm setting in the beginning the variable.\ If it set to null Set id=null It's good like it's working now. If it set to number : Set id=0,1 The script will run my function for two time ea...
by mor.bas
11 Jul 2013 08:15
Forum: DOS Batch Forum
Topic: batch for grep in some other text for input
Replies: 4
Views: 3239

Re: batch for grep in some other text for input

Hi,thanks

Can you explain the line:

set "var=%var:* - =%"

?
by mor.bas
11 Jul 2013 03:22
Forum: DOS Batch Forum
Topic: batch for grep in some other text for input
Replies: 4
Views: 3239

batch for grep in some other text for input

Hi, I need a batch that use findstr or something like that that take a txt for input that have a line like: Account name for installing services & interfaces - E_X\try the script speared the domain and the user (speared by \) and editing my line in script : User =<username>(in this case try) Dom...
by mor.bas
30 Jun 2013 07:38
Forum: DOS Batch Forum
Topic: script to read from ini file
Replies: 5
Views: 7346

Re: script to read from ini file

Hi, I just want to use a coomand line like: test.bat [path to ini file] [path to output file] test.bat [path to ini file] [path to output file] ini file and output file are the things that get change. BuildVersion is only the value the got a varible Like: Buildversion=45. Right now I need to write c...
by mor.bas
30 Jun 2013 07:15
Forum: DOS Batch Forum
Topic: script to read from ini file
Replies: 5
Views: 7346

Re: script to read from ini file

Yes I should provide the ini file name and the output file name
by mor.bas
30 Jun 2013 05:41
Forum: DOS Batch Forum
Topic: script to read from ini file
Replies: 5
Views: 7346

script to read from ini file

hi, I need a script that I will give it a path to ini file and it will read data there and put the output(increment by one ) in another file (giving by the user ) like : test.bat [path to ini file] [path to output file] I have something like that right now: call:getvalue %INIFILE% "BuildVersion...
by mor.bas
07 May 2013 07:10
Forum: DOS Batch Forum
Topic: Xcopy several times
Replies: 3
Views: 4397

Xcopy several times

I want to copy some files in my batch file
how to do it more clearly then just

XCOPY "%~dp0External\Electronics" "%THIRD_FOLDER%\Electronics" /S /V /F /E /I /Y

And doing it X8 for 8 directories.

Thanks in advance....
by mor.bas
30 Apr 2013 07:25
Forum: DOS Batch Forum
Topic: script for configure boot
Replies: 2
Views: 2810

Re: script for configure boot

No the same problem.

No change.
by mor.bas
30 Apr 2013 06:57
Forum: DOS Batch Forum
Topic: script for configure boot
Replies: 2
Views: 2810

script for configure boot

Hi, I have this script to configure boot fix. @echo off setlocal ENABLEDELAYEDEXPANSION FOR /F "tokens=1,2" %%a IN ('bcdedit /enum') DO ( IF /I "%%a" EQU "identifier" SET CURRENT_IDENTIFIER=%%b IF /I "%%a" EQU "device" ( IF /I "%%b" EQU &qu...
by mor.bas
18 Mar 2013 09:49
Forum: DOS Batch Forum
Topic: Problem with script
Replies: 5
Views: 4404

Re: Problem with script

Any other suggestions?
by mor.bas
18 Mar 2013 03:43
Forum: DOS Batch Forum
Topic: Problem with script
Replies: 5
Views: 4404

Problem with script

Hi, I have a a batch file that transferring files. The problem that there is a system that ex cute this script and if the system tried to call it all at once the script can't write to log(because this log is used by other process) and not transferring the file. What can resolved the problem? I think...
by mor.bas
12 Mar 2013 10:13
Forum: DOS Batch Forum
Topic: Network config
Replies: 16
Views: 10381

Re: Network config

Ok It's work. My problem is that I need to run it once after the computer restart. I try do put in in "RUNONCE" regestry key. The problem with this was the all the ni'cs where disable because it execute the script before win get on. I think to put it in startup folder ,the problem that I n...
by mor.bas
11 Mar 2013 07:48
Forum: DOS Batch Forum
Topic: Network config
Replies: 16
Views: 10381

Re: Network config

No it's work bit in the end I got an error
Description=invalid query
by mor.bas
11 Mar 2013 01:01
Forum: DOS Batch Forum
Topic: Network config
Replies: 16
Views: 10381

Re: Network config

It doesn't work.
I got on the screen the message: true - invalid alias verb.
by mor.bas
10 Mar 2013 08:33
Forum: DOS Batch Forum
Topic: Network config
Replies: 16
Views: 10381

Re: Network config

Description Index Intel(R) PRO/1000 PT Dual Port Server Adapter 7 Intel(R) PRO/1000 PT Dual Port Server Adapter 11 Intel(R) PRO/1000 PT Dual Port Server Adapter 13 Intel(R) PRO/1000 PT Dual Port Server Adapter 15 Intel(R) PRO/1000 PT Dual Port Server Adapter 16 Intel(R) PRO/1000 PT Dual Port Server ...