Highlander Δημοσ. 28 Φεβρουαρίου 2005 Δημοσ. 28 Φεβρουαρίου 2005 Έστω ότι θέλουμε να φτιάξουμε ένα batch file για να παίρνουμε backup σε CD αρχεία τα οποία μας είναι χρήσιμα και είναι σε ένα φάκελο. Βολεύει πάρα πολύ η παρακάτω εντολή: C:\Progra~1\Ahead\Nero\nerocmd --write --drivename e --real --detect_non_empty_cdrw --force_erase_cdrw --underrun_prot --recursive --create_iso_fs --speed 10 --iso new c:\backup\*.* Όπου --write εγγραφή Όπου --drivename e είναι το γράμμα του CD-RW. Όπου --detect_non_empty_cdrw να δει αν το cd είναι άδειο. Όπου --force_erase_cdrw αν δεν είναι άδειο να το σβήσει. Όπου --underrun_prot ενεργοποίηση του buffer underrun protection. Όπου --recursive επανάληπτική αναζήτηση αρχείων. Όπου --create_iso_fs ο τύπος του ISO. Όπου --speed 10 η ταχύτητα της εγγραφής. Όπου --iso new νέο CD ISO (όχι συνέχεια προηγούμενου). Όπου c:\backup\*.* τα αρχεία μας. Περισσότερες πληροφορίες nerocmd /? Πολλά ευχαριστώ στον Λευτέρη.
drm Δημοσ. 3 Απριλίου 2005 Δημοσ. 3 Απριλίου 2005 Ένας τρόπος για να γράψετε δεδομένα σε CD/DVD με την μηχανή του Nero χωρίς να ανοίγετε το Interface είναι η χρήση του NeroCMD, το οποίο είναι ένα εργαλείο που λειτουργεί από την γραμμή εντολής. Έφτιαξα αυτό για όποιον το θέλει > @ECHO OFF CLS "C:\Program Files\Ahead\Nero\NeroCMD.exe" --listdrives ECHO. SET /P RecLetter=Type Recorder's Letter and Press Enter: CLS ECHO Choose Media Type ECHO [1] DVD ECHO [2] CD SET DiskTNO=1 SET /P DiskTNO=Type 1[def] or 2 and Press Enter: if %DiskTNO% == 1 ( SET DiskType=--dvd SET DiskTT=DVD ) if %DiskTNO% == 2 ( SET DiskType= SET DiskTT=CD ) CLS SET /P IsoTitle=Enter %DiskTT% Title: CLS ECHO %RecLetter%:[%DiskTT%] %IsoTitle% ECHO. SET DoStart=OK SET /P DoStart=Press Enter to Burn Disk. Type Anything Else to Abort if %DoStart%==OK ( "C:\Program Files\Ahead\Nero\NeroCMD.exe" --write --real --drivename e %DiskType% --iso %IsoTitle% --recursive %* ) ELSE (ECHO USER CANCELED OPERATION) το γράφετε σε ένα αρχείο κειμένου, αλλάζετε την κατάληψη του σε .cmd (ή .bat). και το βάζετε στο SendTo (C:\Documents and Settings\My Profile\SendTo) Από τον windows explorer, επιλέγετε τα αρχεία (και φακέλους) που θέλετε να γράψετε, δεξί κλικ, SendTo... απαντάτε στις 3 ερωτήσεις και ξεκινάει το NeroCMD να γράφει τα αρχεία. Προφανός απαιτείτε το Νερο, και αν δεν το έχετε στο C:\Program Files\Ahead\Nero\NeroCmd.exe τότε αλλάξετε το path στο αρχείο.. Το έχω δοκίμασει και μάλλον λειτουργεί καλά. Εγώ το εμπιστεύομαι αλλά δεν αναλαμβάνω καμία ευθύνη γία ότι και να συμβεί ... [φωτία, καταστροφή, επίθεση, δημιουργία μαύρης τρύπας] Γία ότι πρόβλημα, βελτίωση κτλ απλά γράψτε το εδώ ή πμ ή μαιλ ....
kgliat Δημοσ. 3 Απριλίου 2005 Δημοσ. 3 Απριλίου 2005 Καλή η προσπάθειά σου αγαπητέ φίλε Αλλά, αν για παράδειγμα θέλουμε να γράψουμε επανεγγράψιμα DVD - όπως κάνω σχεδόν πάντα, μπορεί το batch-άκι που έχεις κάνει να το καταλάβει αυτό και να κάνει quickformat για παράδειγμα; Δεν έχω προλάβει να το δοκιμάσω..Οπως και να'χει πάντως, πολύ καλή προσπάθεια!!
Highlander Δημοσ. 3 Απριλίου 2005 Μέλος Δημοσ. 3 Απριλίου 2005 drm το Batch σου είναι άψογο πάντως... Υπάρχει ανάλογο topic topic Επίσης: >Usage: _______________ | List available| --listdrives | drives | |_______________| | Obtain drive | --driveinfo --drivename <name> | info | |_______________| | Obtain disc | --discinfo --drivename <name> | info | |_______________| | Write | --write --drivename <name> [--real] [--tao] | ISO/Audio Disc| [--artist <artist>] [--title <title>] [--speed <speed>] | | [--audio] <audio files> [--cdextra] [--iso <volumename>] | | [--iso-no-joliet] [--iso-mode2] [--speedtest] | | [--enable_abort] [--close_session] [--detect_non_empty_disc] | | [--cd_text] [--underrun_prot] | | [--import_udf] [--import_vms_session] | | [--use_rockridge] [--create_iso_fs] [--create_udf_fs] | | [--disable_eject] [--verify] [--dvd] [--use_allspace] | | <disk file> ... | | [--force_erase_disc] [--nero_log_timestamp] | | [--output_image <filename>] | | | | NOTE: At least one audio file or one disk file needs to be | | specified! |_______________| | Write | --write --drivename <name> [--real] [--tao] | Video CD | --videocd [--speed <speed>] [--speedtest] [--enable_abort] | | [--close_session] <video files> [--iso <volumename>] | | [--iso-no-joliet] [--iso-mode2] [--speedtest] | | [--enable_abort] [--close_session] [--detect_non_empty_disc] | | [--underrun_prot] [--disable_eject] <disk file>... | | [--force_erase_disc] [--nero_log_timestamp] | | [--temp_path <path>] [--output_image <filename>] |_______________| | Write Super | --write --drivename <name> [--real] [--tao] | Video CD | --svideocd [--speed <speed>] [--speedtest] [--enable_abort] | | [--close_session] <video files> [--iso <volumename>] | | [--iso-no-joliet] [--iso-mode2] [--speedtest] | | [--enable_abort] [--close_session] [--detect_non_empty_disc] | | [--underrun_prot] [--disable_eject] <disk file>... | | [--force_erase_disc] [--nero_log_timestamp] | | [--temp_path <path>] [--output_image <filename>] |_______________| | Write image | --write --drivename <name> [--real] [--tao] [--dvd] | | --image <image filename> [--speed <speed>] [--speedtest] | | [--enable_abort] [--close_session] [--detect_non_empty_disc] | | [--underrun_prot] [--disable_eject] | | [--force_erase_disc] [--nero_log_timestamp] | | [--output_image <filename>] |_______________| | Write | --write --drivename <name> [--real] [--tao] | freestyle disc| [--artist <artist>] [--title <title>] [--speed <speed>] | | [--cdextra] [--iso <volumename>] | | [--freestyle_mode1 <filename>] | | [--freestyle_mode2 <filename>] | | [--freestyle_audio <filename>] | | [--iso-no-joliet] [--iso-mode2] [--speedtest] | | [--enable_abort] [--close_session] [--detect_non_empty_disc] | | [--cd_text] [--underrun_prot] | | [--import_udf] [--import_vms_session] | | [--use_rockridge] [--create_iso_fs] [--create_udf_fs] | | [--disable_eject] [--verify] [--use_allspace] <disk file>... | | [--force_erase_disc] [--nero_log_timestamp] | | [--output_image <filename>] | | | | NOTE: Any number of freestyle tracks can be specified up to | | a maximum of 99 tracks.! |_______________| | Estimate | --estimate --drivename <name> [--tao] | track size | [--iso <volumename>] [--iso-no-joliet] [--iso-mode2] | | [--close_session] [--import_udf] [--import_vms_session] | | [--use_rockridge] [--create_iso_fs] [--create_udf_fs] | | [--disable_eject] [--dvd] [--use_allspace] | | [--estimate_no_fs_overhead] [--estimate_no_data] | | [--estimate_no_exact_size] <disk file> ... |_______________| | Read audio | --read --drivename <name> [--read_speed <speed>] | track(s) | --XY <filename> [-XY <filename> ...] |_______________| | List audio | --listformats | formats | |_______________| | Erase disc | --erase [--entire] --drivename <name> |_______________| | Eject disc | --eject --drivename <name> |_______________| | Load disc | --load --drivename <name> |_______________| | Obtain image | --imageinfo <filename> | file disc info| |_______________| | Version info | --version |_______________| Each command supports the following switches: [--no_error_log], [--error_log <log filename>], [--no_user_interaction] and [@parameter_file] _______________ | --write | Burn disc. |_______________| | --drivename | <name> is either the "full name" of the drive or the | <name> | drive letter. |_______________| | --real | Forces the disc to be actually burned. If --real is not | | specified the process is only simulated. |_______________| | --tao | Disc is burned in TAO mode (DAO is default). |_______________| | --burnproof | Obsolete option, use --underrun_prot instead. |_______________| | --artist | <artist> is the artist name as to be written on disc. | <artist> | |_______________| | --title | <title> is the title to be written on disc. | <title> | |_______________| | --read_speed | <speed> is the speed at which the audio tracks will be read | <speed> | (in x150KB/s). |_______________| | --speed | <speed> is the speed at which the disc will be burned | <speed> | (for CD in x150 KB/s and for DVD in x1,385 KB/s). |_______________| | --speed_in_ | <speed> is the speed at which the disc will be burned | kbps <speed> | (in KB/s). |_______________| | --audio | The disc is burned with audio information. |_______________| | <audio files> | <audio files> is a list of audio files (wav, mp3, wma, pcm). |_______________| | --cdextra | Use the CDExtra feature. |_______________| | --iso | <volume name> is the volume name to be stored on the disc. | <volume name> | |_______________| |--iso-no-joliet| Do not use Joliet format. |_______________| | --iso-mode2 | Burn the disc using mode 2. |_______________| | --speedtest | Perform speed test before burning. |_______________| | --enable_abort| Notify which operations can and which cannot be aborted. |_______________| |--close_session| Close the session, not the whole disc. |_______________| |--detect_non_ | Detect if the disc for burning is a non empty | empty_disc | RW media and offer to take certain actions. |_______________| | --cd_text | Write CD text (if supported by device). |_______________| | --videocd | Burn a Video CD. |_______________| | --svideocd | Burn a Super Video CD. |_______________| | <video files> | <video files> represents a list of video files (mpeg, jpeg). |_______________| | --image | <filename> is the filename to the image file. | <filename> | |_______________| | --read | Read audio track(s). |_______________| | --XY | XY is the number of the audio track that is to be saved to | <filename> | <filename>. |_______________| | --erase | Erase an RW media. |_______________| | --entire | Erase the entire disc (the default is quick erase). |_______________| | --eject | Eject disc. |_______________| | --load | Load disc. |_______________| | --version | Print NeroAPI version information. |_______________| | --underrun_ | Protect from underrun condition. | prot | |_______________| | --use_ | Use rockridge format. | rockridge | |_______________| | --create | Create ISO filesystem. | _iso_fs | |_______________| | --create | Create UDF filesystem. | _udf_fs | |_______________| | --dvdvideo | Perform reallocation of files in VIDEO_TS | _realloc | directory. |_______________| | --dvdvideo | Create DVD-Video compatible disc. | _cmpt | --create_iso_fs --create_udf_fs and | | --iso_no_joliet also need to be specified. |_______________| | --import | Obsolete option; will be ignored. | rockridge | |_______________| | --import_udf | Import UDF format. |_______________| | --import_vms | Import Virtual Multisession (VMS) session | _session | (session number treated as VMS session). |_______________| | --import | Obsolete option; will be ignored. | _iso_only | |_______________| | --import | Import session number (if omitted, the last | <session #> | session is imported). |_______________| | --prefer | Obsolete option; will be ignored. | _rockridge | |_______________| | --freestyle_ | Burn the file in mode 1. | mode1 | |_______________| | --freestyle_ | Burn the file in mode 2. | mode2 | |_______________| | --freestyle_ | Burn the file in audio mode. | audio | |_______________| | --disable_ | Disables disc ejection after burn completion. | eject | |_______________| | --verify | Verify ISO filesystem after writing. |_______________| | --dvd_high_ | Used for better compatibility of burned DVDs. | compatibility| At least 1GB will be written. |_______________| | --dvd | Select DVD as media type. |_______________| | --recursive | Do a recursive file search. |_______________| | --force_erase_| Delete disc without user interaction | disc | (requires --detect_non_empty_disc). |_______________| | --nero_log_ | Add a timestamp to the log's file name. | timestamp | |_______________| | --temp_path | Specify a temporary path for Video CD files. |_______________| | --media_type | Specify a media type (combine with +) | <type> | media_cd, media_ddcd, media_dvd_m, media_dvd_p, | | media_dvd_any, media_dvd_ram, media_ml, media_mrw, | | media_no_cdr, media_no_cdrw, media_cdrw, media_cdr | | media_dvd_rom, media_cdrom, media_no_dvd_m_rw, | | media_no_dvd_m_r, media_no_dvd_p_rw, | | media_no_dvd_p_r, media_dvd_m_r, media_dvd_m_rw, | | media_dvd_p_r, media_dvd_p_rw, media_fpacket, | | media_vpacket, media_packetw, media_hdb or | | media_dvd_p_r9). |_______________| | --no_user_ | Allow the whole process to take place with no user | interaction | interaction (no questions asked). |_______________| | --output_image| Specify output image file name if image recorder is used | | to avoid prompting for filename. |_______________| | --use_allspace| Use all space on the media. |_______________| | --relax_joliet| Relax Joliet file name length limitations. |_______________| | --japanese_ | CD Text is treated as Japanese CD Text (must include | cd_text | --cd_text as well). |_______________| |--disable_eject| Do not eject the RW media after erasing it. | _after_erase | |_______________| | --force_eject | Force disc ejection after erasing the RW media. | _after_erase | |_______________| | --system_ | <text> is the "system identifier" of an ISO track. | identifier | | <text> | |_______________| | --volume_set | <text> is the "volume set" of an ISO track. | <text> | |_______________| | --publisher | <text> is the "publisher" of an ISO track. | <text> | |_______________| | --data_ | <text> is the "data preparer" of an ISO track. |preparer <text>| |_______________| | --application | <text> is the "application" of an ISO track. | <text> | |_______________| | --copyright | <text> is the "copyright" of an ISO track. | <text> | |_______________| | --abstract | <text> is the "abstract" of an ISO track. | <text> | |_______________| |--bibliographic| <text> is the "bibliographic" of an ISO track. | <text> | |_______________| | --backup | Replace imported files only if newer are found. |_______________| | --booktype | The book type of a burned DVD will be set to | _dvdrom | DVD-ROM. |_______________| | --no_booktype | Do not change the book type of a DVD even if the default | _change | setting is to change the book type to DVD-ROM. |_______________| | --estimate_no | Do not include the file system overhead in calculation. | fs_overhead | |_______________| | --estimate_no | Do not include data in calculation. | data | |_______________| | --estimate_no | Do not calculate the exact size (quicker). | exact_size | |_______________| | --cd_overburn | Specify CD overburn size in blocks. | <size> | |_______________| | --dvd_overburn| Specify DVD overburn size in blocks. | <size> | |_______________| | @param_file | param_file contains the command line arguments. |_______________|
drm Δημοσ. 3 Απριλίου 2005 Δημοσ. 3 Απριλίου 2005 @Highlander Παιδία χίλια συγνώμη, δεν είχα δει το ανάλογο τοπικ. Αν μπορεί/θέλει κάποιος Μοδερατορ ας το μετακινήσει. @kgliat Το NeroCMD μπορεί να κάνει αυτό που λες, το batchάκι μου όχι. Θεώρησα ότι για πιο πολυπλοκές λειτουργίες μπορεί κάποιος να ανοίξη το νερο. Επιφυλάσομαι να γράψω κάποια στιγμή ένα Application σε Delphi που θα έχει πιο πολλές δυνατότητες...
Super Moderators paredwse Δημοσ. 3 Απριλίου 2005 Super Moderators Δημοσ. 3 Απριλίου 2005 Topics merged!
Highlander Δημοσ. 4 Απριλίου 2005 Μέλος Δημοσ. 4 Απριλίου 2005 drm, αυτό που δεν έχω δοκιμάσει είναι αν το Nerocmd παίζει χωρίς να είναι εγκατεστημένο το Nero. (Φυσικά με τη συνοδεία κάποιων DLL). Θα το δοκιμάσω, γιατί θα ήταν πολύ χρήσιμο να μπορεί να γίνει κάτι τέτοιο. Το κακό είναι ότι την Παρασκευή μου χάλασε το Teac DVD-RW μου (2 εβδομάδων ήταν) και πρέπει να περιμένω 2-3 ημέρες μέχρι να έρθει άλλο. paredwse ευχαριστούμε...
drm Δημοσ. 4 Απριλίου 2005 Δημοσ. 4 Απριλίου 2005 Μπορεί να παίζει με το με το NeroBurn (νομίζω το κάνει το Clone DVD αυτό)
Προτεινόμενες αναρτήσεις
Αρχειοθετημένο
Αυτό το θέμα έχει αρχειοθετηθεί και είναι κλειστό για περαιτέρω απαντήσεις.