Wo ist der Fehler?

Hallo [Habo]
Was ist daran falsch?

Code:
start C:\Documents%and%Settings\O'Neill\Bureau\test\a2cmd.exe

Das ganze sol eine Batch-Datei werden=)
 
übersetztung:

Windows konnte die Datei"C:\Documents%and%Settings\O'Neill\Bureau\test\a2cmd.exe" nicht finden. Bitte vergewissern Sie sich das es die Datei gibt und dass der Name richtig geschriben ist. Wenn Sie Hilfe brauchen um die Datei durch ihren Namen zu finden, somit klicken sie auf START und dann auf Suchen.
 
Hi,

Du musst einfach den Pfad in Anführungszeichen setzten, da der Pfad Leerzeichen enthält und die Eingabeaufforderung damit ein Problem hat...

Also:
Code:
start "C:\Documents and Settings\O'Neill\Bureau\test\a2cmd.exe"

Aber was du mit dem %-Zeichen bewirken willst ist mir irgentwie unklar. ?(

Gruß Chris
 
nuja, das Leerzeichen muss ja eigentlich %20 sein, denk ich. und er könnte sich auch am " ' " stören. Doppelte Anführungszeichen müssten funzen.

P.S.: Fremdsprachige Windozes rulen ^^ zumindest in sachen Windoze ;)
 
I.
Code:
 start "C:Documents%20and%20SettingsO'NeillBureautesta2cmd.exe"
II.
Code:
start "C:DocumentsandSettingsO'NeillBureautesta2cmd.exe"
Es geht immer nur ne neue DOS Box auf, hier die Anleitung von der Software:

Usage:------ Open a DOS box and type: a2cmd By default, the help dialog appears: ---------------------------------------------------------------------- a-squared Command Line Scanner v. 2.0.0.103 (c) 2006 Emsi Software GmbH - www.emsisoft.com a2cmd.exe [path] | [parameters] Scan parameters (can be used together): /f=[], /files=[path] Scan files /m, /memory Scan Memory for active Malware /t, /traces Scan for Spyware Traces /c, /cookies Scan for Tracking Cookies Scan settings parameters (used with scan parameters): /h, /heuristic Heuristic scan for unknown Malware /r, /riskware Alert Riskware that is often used by Malware /a, /archive Scan in compressed archives (zip, rar, cab) /n, /ntfs Scan in NTFS Alternate Data Streams /l=[], /log=[filepath] Save a log file of the scan (if no filepath is specified, the default folder "Logs" is used) /x=[], /ext=
  • Scan only specified file extensions, comma delimited /xe=[], /extexclude=
    • Scan all except the specified file extensions /d, /delete Delete found Malware /q=[], /quarantine=[folder] Put found Malware into Quarantine (quarantine folder is optional, otherwise the "Quarantine" folder is used) Malware handling parameters (standalone parameters): /ql, /quarantinelist List all quarantined items /qr=[], /quarantinerestore=[n] Restore the item number n of the quarantine /qd=[], /quarantinedelete=[n] Delete the item number n of the quarantine General parameters: /u, /update Update Malware signatures /?, /help Show help message ---------------------------------------------------------------------- Example: a2cmd /f="c:\windows\" /m /t /c /h /r /a /n /q Description: Scans c:\windows. Memory, Traces and Cookie scan enabled. Uses heuristics, displays Riskware and scans in Archives and ADS. Puts found Malware in Quarantine.
 
zu II.: Du hast die Leerstellen nicht drin und die Backslashes auch nicht.

EDIT: zu I.: Die Backslashes fehlen.
 
Zurück
Oben