Replacement Commands For Windows 7 (x64)
Moderator: DosItHelp
-
- Posts: 11
- Joined: 25 Sep 2014 23:25
Replacement Commands For Windows 7 (x64)
task completed
Last edited by pratik151192 on 14 Oct 2014 21:40, edited 1 time in total.
Re: Replacement Commands For Windows 7 (x64)
pratik151192 wrote:and resolving this is of utmost importance at the moment.
Kindly help.
Thank You
Sure thing! Give us some details about the task and show us the batch file so we can understand what you are intending to do, and how it is being done.
Re: Replacement Commands For Windows 7 (x64)
pratik151192 wrote:'-rw-r-----' is not recognized as an internal or external command, operable program or batch file.
'none' is not recognized as an internal or external command, operable program or batch file.
Obviously these are not commands so it has something to do with your code that is not right. Without seeing the real code it would be really hard to help you.
-
- Posts: 233
- Joined: 21 Nov 2010 08:07
- Location: At My Computer
Re: Replacement Commands For Windows 7 (x64)
Just save your batch files to desktop to error check:
>> right-click and choose edit
>> Once open just click on a blank area and do Ctrl+F to bring up the Find box
>> Type in the problem words such as ie. nope, rw-r etc.
>> then look at your script for the errors lines.
~DP
>> right-click and choose edit
>> Once open just click on a blank area and do Ctrl+F to bring up the Find box
>> Type in the problem words such as ie. nope, rw-r etc.
>> then look at your script for the errors lines.
~DP
pratik151192 wrote:debug' is not recognized as an internal or external command, operable program or batch file.
'-rw-r-----' is not recognized as an internal or external command, operable program or batch file.
'none' is not recognized as an internal or external command, operable program or batch file. goto was unexpected at this time.
These are the three unrecognized commands for me when I am trying to execute the batch file. On doing some research, I found out that the debug command is no longer supported for 64 bit machine. Whereas, for others I am clueless, not getting anything in any forum, please help me to resolve the issue. I am moving these batch files from SQL Server 2000 to SQL Server 2008 R2, and resolving this is of utmost importance at the moment.
Kindly help.
Thank You
-
- Expert
- Posts: 1166
- Joined: 06 Sep 2013 21:28
- Location: Virginia, United States
Re: Replacement Commands For Windows 7 (x64)
"-rw-r-----" is *NIX file permissions...
"none" could be anything.
Post your code.
"none" could be anything.
Post your code.
-
- Posts: 11
- Joined: 25 Sep 2014 23:25
Re: Replacement Commands For Windows 7 (x64)
task completed
Last edited by pratik151192 on 14 Oct 2014 21:41, edited 1 time in total.
Re: Replacement Commands For Windows 7 (x64)
What are you trying to do? Mixing up batch and ftp?
You didn't post your code yet...
Regards
aGerman
You didn't post your code yet...
Regards
aGerman
-
- Posts: 233
- Joined: 21 Nov 2010 08:07
- Location: At My Computer
Re: Replacement Commands For Windows 7 (x64)
OP said that "resolving this is of utmost importance" and Still after Several requests for his Batch Code He Still has not responded back with it..
~DP
~DP
Re: Replacement Commands For Windows 7 (x64)
Dos_Probie wrote:and Still after Several requests for his Batch Code He Still has not responded back with it..
All we can do is ask for the details and if the OP replies without the requested details then maybe the threads should be locked
with a note that the OP can PM a mod to unlock the thread (assuming they will provide the details).
-
- Expert
- Posts: 1166
- Joined: 06 Sep 2013 21:28
- Location: Virginia, United States
Re: Replacement Commands For Windows 7 (x64)
pratik151192 wrote:The actual error is: blahblahblah
This is completely useless.
Open the batch script in a text editor, select all, copy, and paste it here.
-
- Expert
- Posts: 1166
- Joined: 06 Sep 2013 21:28
- Location: Virginia, United States
Re: Replacement Commands For Windows 7 (x64)
I take that back; it's not completely useless, since you apparently (luckily) didn't start the script with @echo off.
Post the contents of \\B6cold\FTPShare\Shared\MDC\DANZAS\Process\catreps\danzas_catreps_dir.bat
Post the contents of \\B6cold\FTPShare\Shared\MDC\DANZAS\Process\catreps\danzas_catreps_dir.bat
-
- Posts: 11
- Joined: 25 Sep 2014 23:25
Re: Replacement Commands For Windows 7 (x64)
task completed
Last edited by pratik151192 on 14 Oct 2014 21:41, edited 1 time in total.
-
- Expert
- Posts: 1166
- Joined: 06 Sep 2013 21:28
- Location: Virginia, United States
Re: Replacement Commands For Windows 7 (x64)
I'm not seeing anything in the code you posted that calls debug, but your script does call a couple of other scripts. Take a look at both created.bat and kixRemoveBlanks.bat and see if either one of those either uses the debug command or calls a script that does.
-
- Posts: 11
- Joined: 25 Sep 2014 23:25
Re: Replacement Commands For Windows 7 (x64)
task completed
Last edited by pratik151192 on 21 Oct 2014 21:39, edited 1 time in total.
Re: Replacement Commands For Windows 7 (x64)
To the OP:
From your log
danzas_catreps_dir.log does not contain .txt in that letter case
and the variable fn is set to none in the 2nd line so it exits.
There is no problem there at all.
created.bat and kixRemoveBlanks.bat aren't running in the sample batch file output you posted
but the problem is likely to be that debug.exe is not available on a 64 bit version of Windows.
From your log
danzas_catreps_dir.log does not contain .txt in that letter case
and the variable fn is set to none in the 2nd line so it exits.
There is no problem there at all.
created.bat and kixRemoveBlanks.bat aren't running in the sample batch file output you posted
but the problem is likely to be that debug.exe is not available on a 64 bit version of Windows.