Search found 8 matches

by ngusaomanoi
24 Jun 2014 21:24
Forum: DOS Batch Forum
Topic: Key press Enter in batch file
Replies: 3
Views: 3945

Re: Key press Enter in batch file

foxidrive wrote:Is the red event a simple pause, or is the enter key supposed to be within the MySQL interface?


Is the enter key supposed to be within the MySQL interface.
Can you suggest me ?
Thanks you
by ngusaomanoi
20 Jun 2014 21:42
Forum: DOS Batch Forum
Topic: Key press Enter in batch file
Replies: 3
Views: 3945

Key press Enter in batch file

Hi all, i'm writting a batch file to create user and grant privileges in mysql. But i don't know how to create key event ( line red ). cd C:\Program Files\MySQL\MySQL Server 5.6\bin c: mysql -u root -p (Press Key ENTER) create user "db_user"; grant all on db_temp.* to 'db_user'@'127.0.0.1'...
by ngusaomanoi
12 Mar 2013 04:28
Forum: DOS Batch Forum
Topic: Break Loop infinite
Replies: 9
Views: 8041

Re: Break Loop infinite

I use batch file no use console.
Thanks.
by ngusaomanoi
12 Mar 2013 02:20
Forum: DOS Batch Forum
Topic: Break Loop infinite
Replies: 9
Views: 8041

Break Loop infinite

Hi All,
I have a Loop Infinite.

for /L %%n in (1,0,10) do (
echo "infinite\n"
if exist "%~dp0\Parts\file.xml"
(
//I want break here
)
)
anybody give me syntax break in batch file.
by ngusaomanoi
11 Mar 2013 22:26
Forum: DOS Batch Forum
Topic: Batch file has code of perl
Replies: 2
Views: 3357

Re: Batch file has code of perl

Thanks you so much abc0502 ^^~
by ngusaomanoi
11 Mar 2013 21:00
Forum: DOS Batch Forum
Topic: Batch file has code of perl
Replies: 2
Views: 3357

Batch file has code of perl

I have a problem, my program only read batch file.
But i need some code of perl.How i can insert code perl in batch file.
Anybody give me some syntax to insert code perl.
by ngusaomanoi
13 Nov 2012 23:47
Forum: DOS Batch Forum
Topic: Expand current directory
Replies: 4
Views: 4126

Re: Expand current directory

Thanks you foxidrive it help my software active. I think should use .\part\file.xml when i send file.bat another computer Thanks you so much Ed Dyreen your source help me know where i have problem because when i use %~dp0\Parts\file.xml -> directory\\parts\file.xml i balance "\" this is re...
by ngusaomanoi
13 Nov 2012 20:34
Forum: DOS Batch Forum
Topic: Expand current directory
Replies: 4
Views: 4126

Expand current directory

Sorry every one.
I'm beginner at dos don't have experience.I have a problem.

file.xml c:\temp\stylesheets\Part\file.xml

file.bat in c:\temp\stylesheets\file.bat

So i want read file.xml from file.bat but i use path %~dp0\Parts\file.xml.The path don't work.
can i give me advice