14. maj 2001 - 16:39Der er
30 kommentarer og 1 løsning
fil redigering
jeg kunne godt tænke mig at vide om det var muligt at redigere i en f.eks. program fil!!! komandoen format c:/ ja/nej osv. kunne jeg godt tænke mig til at få til at køre automatisk... eller springe ja og nej over, i en bat/exe fil.. kan det lade sig gøre??? og hvordan??? i får en go sjat point.. lad os så se...! (få flere hvis det er nødvendigt
I dette særtema ser vi på, hvordan cloud og AI bliver fundamentet for virksomhedernes digitale forretning, og hvordan de nye muligheder for automatisering og forretningsværdi kan udnyttes uden at miste overblik, sikkerhed og menneskelig kontrol.
FORMAT drive: [/V[:label]] [/Q] [/F:size] [/B | /S] [/C] FORMAT drive: [/V[:label]] [/Q] [/T:tracks /N:sectors] [/B | /S] [/C] FORMAT drive: [/V[:label]] [/Q] [/1] [/4] [/B | /S] [/C] FORMAT drive: [/Q] [/1] [/4] [/8] [/B | /S] [/C]
/V[:label] Specifies the volume label. /Q Performs a quick format. /F:size Specifies the size of the floppy disk to format (such as 160, 180, 320, 360, 720, 1.2, 1.44, 2.88). /B Allocates space on the formatted disk for system files. /S Copies system files to the formatted disk. /T:tracks Specifies the number of tracks per disk side. /N:sectors Specifies the number of sectors per track. /1 Formats a single side of a floppy disk. /4 Formats a 5.25-inch 360K floppy disk in a high-density drive. /8 Formats eight sectors per track. /C Tests clusters that are currently marked \"bad.\"
Dem kan du jo smække ind i en bat fil så du laver en bat fil som ser således ud:
echo off cls echo Velkommen til min format-kommando echo. @format C: /u /V:NAVN /q cls echo formatering genneført pause cls
og overstående jeg lige hurtigt lavede kan du fra en txt editor som notesblok eller edit fra dos, gemme som format.bat :-)
hvordan gemmer jeg det som en bat fil i notesblok??? det er lidt forvirede... kom lige med det i en lang smøre... så er du en guttermand.. og du for lidt flere point
IMPORTANT: To become familiar with FORMAT.COM\'s command line switches (the documented ones anyway), run: FORMAT /? from any DOS prompt to display the FORMAT.COM help screen.
FORMAT /AUTOTEST [MS-DOS 5.00 and above ONLY] This parameter makes FORMAT.COM check for the existing format of your disk, unless the /U (UNCONDITIONAL) parameter is also used [MS-DOS 5.00 and above ONLY], and then proceeds with an UNATTENDED DISK(ETTE) FORMAT:
DOES NOT prompt for a volume label! DOES NOT prompt to format another disk(ette)! NO delay: NO user intervention! Ends WITHOUT pausing! After completion, it DOES display disk space statistics. WARNING: This works on BOTH hard and floppy drives!
FORMAT drive: /BACKUP [MS-DOS 5.00 and above ONLY] This FORMAT.COM parameter works exactly like /AUTOTEST, but it DOES prompt the user for a volume label, and it DOES display disk space information upon completion.
FORMAT drive: /SELECT [MS-DOS 5.00 and above ONLY] This FORMAT.COM parameter is similar to using the MIRROR command [a MS-DOS 5.00 and earlier ONLY utility], and reads the disk(ette) system area (sector 0). In MS-DOS 4.0 FORMAT /SELECT has the same effect as FORMAT /BACKUP. [Thank you William Levak (wlevak@cyberspace.org)!] NOTE: Microsoft removed MIRROR.COM from all MS-DOS releases begining with 6.00.
FORMAT drive: /U [MS-DOS 5.00 and above ONLY] This FORMAT.COM parameter performs an UNCONDITIONAL format, which DESTROYS every byte of data on ANY hard disk/floppy by overwriting it with hex F6h. WARNING: You canNOT UNFORMAT a disk(ette) formatted using the /U option!
FORMAT drive: /SELECT /U [MS-DOS 5.00 and above ONLY] This particular combination of FORMAT.COM parameters makes a disk(ette) UNREADABLE by filling the system area (sector 0) with zeroes, due to using these two incompatible options together. All other sectors are left intact. [Thank you William Levak (wlevak@cyberspace.org)!] WARNING: DO NOT use these two FORMAT switches TOGETHER on ANY drive!
FORMAT drive: /Z:n [Windows 95B OSR 2.0 + MS-DOS 7.10 and above ONLY] FORMAT drive: /Z:n formats a FAT32 drive with a cluster size of n times 512 Bytes. Meaning: drive: = your hard drive letter: C:, D:, E:... etc. n = number of sectors per cluster multiplied by 512 = cluster size in Bytes. Examples: n = 1 creates a 512 Bytes cluster; n = 2 creates a 1024 Bytes (1 KB) cluster; n = ? creates a ? x 512 = ???? Bytes (???? Bytes : 1024 = ? KB) cluster. You can modify the size of the allocation units (sectors) on a FAT32 drive to your heart desire. WARNING: It is recommended NOT to change the default cluster size, because some programs such as disk-repair/anti-virus tools might STOP working properly!
@echo off cls rem Format Menu af DeXXa echo; echo; echo Vælg venligst en dims echo; echo (1) Format Diskette Drev A echo (2) Format Drev C echo (3) Format Drev D echo (4) Slut denne menu echo; choice Choose an option /c1234 if errorlevel 4 goto 40 if errorlevel 3 goto 30 if errorlevel 2 goto 20 if errorlevel 1 goto 10 :10 format A: goto end :20 format C: goto end :30 format D: goto end :40 :end echo tak for denne gang
@echo off cls rem Format Menu af DeXXa echo; echo; echo Vælg venligst en dims echo; echo (1) Format Diskette Drev A echo (2) Format Drev C echo (3) Format Drev D echo (4) Slut denne menu echo; choice Choose an option /c1234 if errorlevel 4 goto 40 if errorlevel 3 goto 30 if errorlevel 2 goto 20 if errorlevel 1 goto 10 :10 echo Nedlægger Drev A format A: goto end :20 echo Drev C bliver nu slettet format C: goto end :30 echo alle porno billeder fra drev D bliver slettet format D: goto end :40 echo Slutter.. :end echo tak for denne gang
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.