Go Back   Club CDFreaks - Knowledge is Power > International Chat: Software related > Nero SDK Discussion Forum


Commercial message



Nero SDK Discussion Forum Discuss, Test of ERRORLEVEL at International Chat: Software related forum; Hello ! I'm writing an application of making archives. I need of a return code like errorlevel. Is anybody knows how to audit the process NeroCmd ? Thank's Josiane


Reply
 
Thread Tools
Old 11-01-2005   #1 (permalink)
New on Forum
 
Join Date: Jan 2005
Posts: 5
Test of ERRORLEVEL

Hello !

I'm writing an application of making archives.
I need of a return code like errorlevel.

Is anybody knows how to audit the process NeroCmd ?

Thank's
Josiane
Josiane77240 is offline   Reply With Quote
Old 11-01-2005   #2 (permalink)
Nero Developer
 
Join Date: Oct 2003
Posts: 605
I am not exactly sure what is it that you are asking but NeroCMD does set errorlevel. You can find the values in NeroSDK\NeroCmd\Src\ExitCode.h of the NeroSDK archive.
alexp is offline   Reply With Quote
Old 12-01-2005   #3 (permalink)
New on Forum
 
Join Date: Jan 2005
Posts: 5
Re: Test of ERRORLEVEL

Hello !

I find the answer ...

IF ERRORLEVEL 1 ... Does'nt work but
goto %ERRORLEVEL% ... DOES !!!!

See the sample :

ECHO OFF
e:\neroSDK-1.05\NeroCmd\NeroCmd --cdinfo --drivename f
goto a%ERRORLEVEL%
0
ECHO Ok.
goto :fin
1
ECHO Bad usage!
goto :fin
2
ECHO Internal error!
goto :fin
3
ECHO NEROAPI.DLL was not found!
goto :fin
4
ECHO Serial number was not found!
goto :fin
5
ECHO Serial number is invalid!
goto :fin
6
ECHO No CD was inserted!
goto :fin
7
ECHO CDRW is not supported!
goto :fin
8
ECHO There was an error erasing CDRW!
goto :fin
9
ECHO There was an error obtaining a list of available drives!
goto :fin
10
ECHO Drive name is missing!
goto :fin
11
ECHO There was an error while trying to access the drive!
goto :fin
12
ECHO Drive was not found!
goto :fin
13
ECHO Unknown CD format!
goto :fin
14
ECHO Invalid drive!
goto :fin
15
ECHO Burn process failed!
goto :fin
16
ECHO Function was not allowed!
goto :fin
17
ECHO Drive was not allowed!
goto :fin
18
ECHO There was an error obtaining CD info!
goto :fin
19
ECHO Track was not found!
goto :fin
../..
Josiane77240 is offline   Reply With Quote
 
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Successful test with 105'. Looking for a reliable overburning test. Factor Nero & InCD 11 10-08-2007 12:08
Burning a good test DVD - DTS and DD test scenes? boe Nero & InCD 0 03-09-2006 00:53
[Classic] - 266th comic ... This is a test... This is only a test! (read now) Rylex Rylex Blindwrite Comics - 2005 3 14-01-2006 10:27
Nec 3500 CDSpeed Quality test "Failed to initialize test" shill88 NEC / Optiarc Burner 1 06-06-2005 22:40
Problem !!! Nero cd test tool (BURST SPEED TEST DONT WORK) EXTREAME HELP NEEDED :( ViRuS2k LiteOn / PLDS/ Sony Burner 22 14-06-2002 21:33


All times are GMT +2. The time now is 23:35.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0