Command Prompt Command Prompt  Pojam I Upotreba Command Prompt-A  Načini Pokretanja  DIR, CD, MD, RD Doc.Dr

Total Page:16

File Type:pdf, Size:1020Kb

Command Prompt Command Prompt  Pojam I Upotreba Command Prompt-A  Načini Pokretanja  DIR, CD, MD, RD Doc.Dr Command Prompt Command Prompt Pojam i upotreba command prompt-a Načini pokretanja DIR, CD, MD, RD doc.dr. Samir Lemeš COPY, MOVE [email protected] DEL, REN, ATTRIB Univerzitet u Zenici - 2012 BATCH datoteke Pojam i upotreba Pojam i upotreba command prompt-a command prompt-a “Command Prompt” (cmd.exe) je Command Prompt koristi interpreter naredbi kod NT-baziranih MS-DOS naredbe operativnih sistema U slučaju zaraze virusom, brisanja, Analogan programu COMMAND.COM promjene imena ili premještanja kod MS-DOS i Windows 9x sistema sistemskih datoteka, to je često jedini Windows PowerShell – napredniji način manipulacije datotekama interpreter uz Windows 7 i Windows Server 2008 R2 Načini pokretanja Nedostaci Shift-F5 Nema pristupa CD, DVD i USB flash F8 / Command prompt only particijama: Config.sys Start / Programs / Accessories / device=c:\cdrom\cdrom.sys /d:mscd001 Command Prompt c:\windows\command\mscdex.exe /d:mscd001 Start / Run / cmd Nema pristupa mreži NET USE izlistava mapirane diskove Prompt C:\>_ net use d: \\server\share /USER:Guest TASKLIST DIR, CD, MD, RD COPY, MOVE DIR COPY <šta> <gdje> DIR *.DOC COPY file.txt kopija.doc DIR /P COPY a.txt+b.txt c.txt DIR /S COPY CON tekst.txt (F6) DIR E: /S > C:\1.TXT COPY pismo??.* \pisma\arhiva IO SYS 222.390 99-04-23 22:22 IO.SYS WINDOWS <DIR> 00-04-05 13:37 WINDOWS COPY . .. CD <ime> CD.. CD \ MOVE <šta> <gdje> MD <ime> RD <ime> MOVE *.txt A: DEL, REN, ATTRIB ATTRIB DEL <ime> DEL *.TMP REN <staro ime> <novo ime> REN *.TXT *.MP3 ATTRIB +R <file(s)> ATTRIB -H <file(s)> Primjer ATTRIB –R –S –H *.* /s Primjer upotrebe: Virus newfolder.exe Windows PowerShell Svim datotekama s dokumentima Zasnovan na uključi atribute HSR .NET Framework Kreira kopiju virusa koristeći imena Može se koristiti i tih datoteka, ali s ekstenzijom .EXE lokalno i remote Dvostrukim klikom na te datoteke, pokreće se program s virusom Nakon uklanjanja virusa, dokumenti su i dalje SHR – rješenje: ATTRIB Windows PowerShell BATCH datoteke Start Tekstualne datoteke za programiranje All Programs pomoću command prompt naredbi Accessories Ekstenzija .BAT ili .CMD Windows Primjeri: PowerShell echo Zdravo @echo off echo. echo Zdravo Windows pause echo. PowerShell pause>NUL (ISE) BATCH datoteke.
Recommended publications
  • F.A.Q. Series ROM-DOS TM
    21520 30th Drive SE #110 Bothell, WA 98021 USA Tel: (425) 951-8086 Fax: (425) 951-8095 [email protected] [email protected] www.datalight.com TM ROM-DOS F.A.Q. Series Question: Assuming they don't want FAT32, Long Filename support, or Sockets, why should my customer upgrade to the newest ROM-DOS? Answer: Since our first FAT32 and LFN release 4.00.1091, there have been several improvements to the core ROM- DOS kernel. This core code is used primarily for our DOS 6.22 compatible compilations, and then extended in the case of a FAT32 or Long Filename build. The 4.00.1091 release is also a new code base and there will be no further upgrades to the previous DOS 6.22 code. In order to obtain new features, fixes, and support a customer must upgrade to release 4.00.1091 or greater. Along with the performance enhancements for both size and speed, several corrections have been made to the ROM-DOS kernel. These include stack and memory issues, disk access issues, and compatibility with the former market leader in DOS. Most of the ROM-DOS utilities have also been improved for size and speed, along with bug fixes. The major changes happened with the XCOPY, HIMEM, MSCDEX, CHKDSK, FDISK and FORMAT utilities. In the realm of international support, the Euro was added to the keyboard and display driver code. ROM- DOS and PC-DOS 2000 are the only non-GUI operating systems to support the Euro. Finally, new ROM-DOS utilities have been added.
    [Show full text]
  • How to Cheat at Windows System Administration Using Command Line Scripts
    www.dbebooks.com - Free Books & magazines 405_Script_FM.qxd 9/5/06 11:37 AM Page i How to Cheat at Windows System Administration Using Command Line Scripts Pawan K. Bhardwaj 405_Script_FM.qxd 9/5/06 11:37 AM Page ii Syngress Publishing, Inc., the author(s), and any person or firm involved in the writing, editing, or produc- tion (collectively “Makers”) of this book (“the Work”) do not guarantee or warrant the results to be obtained from the Work. There is no guarantee of any kind, expressed or implied, regarding the Work or its contents.The Work is sold AS IS and WITHOUT WARRANTY.You may have other legal rights, which vary from state to state. In no event will Makers be liable to you for damages, including any loss of profits, lost savings, or other incidental or consequential damages arising out from the Work or its contents. Because some states do not allow the exclusion or limitation of liability for consequential or incidental damages, the above limitation may not apply to you. You should always use reasonable care, including backup and other appropriate precautions, when working with computers, networks, data, and files. Syngress Media®, Syngress®,“Career Advancement Through Skill Enhancement®,”“Ask the Author UPDATE®,” and “Hack Proofing®,” are registered trademarks of Syngress Publishing, Inc.“Syngress:The Definition of a Serious Security Library”™,“Mission Critical™,” and “The Only Way to Stop a Hacker is to Think Like One™” are trademarks of Syngress Publishing, Inc. Brands and product names mentioned in this book are trademarks or service marks of their respective companies.
    [Show full text]
  • Thank You for Purchasing the Elder Scrolls: Arena. Dedicated Rpgers
    The Elder Scrolls ARENA hank you for purchasing The Elder Scrolls: Arena. Dedicated RPGers have invested an incredible amount of effort into creating this detailed simulation. If you enjoy the game, please pass the word! There is no better advertising than a satisfied customer. TYou can also purchase the second chapter of The Elder Scrolls, entitled Daggerfall, in Fall 1996. TES: Daggerfall will feature the same open-endedness and breadth as Arena, but will feature increased NPC (Non-Player-Character) interaction, a faster, more sophisticated 3-D engine, and a more extensive storyline. With all the planned enhancements, Daggerfall will give you even more of an opportunity to role-play your character as you choose. We are very excited about Daggerfall and what it will mean to the role-playing community. On our part, we promise to keep bringing you the best in computer simulation software and welcome any suggestions you may have for how we can serve you better. Journey well, and peace be with you. —The Bethesda Team Installing the Game Place the CD into your computer’s CD-ROM drive. Type the drive letter followed by a colon (Ex: D: for most CD-ROM drives) and hit <ENTER>. Next type INSTALL and hit <ENTER>. If you are installing Arena from floppy disks, select ‘Install Game’ and follow the prompts. Because you are installing from the CDROM, 5 megabytes of data will be copied to your hard drive when you select ‘Exit’. The next step is to configure your game (see below). Configuring Arena to your System To configure any Sound FX and Music drivers once Arena has successfully installed (if you wish to play the game with sound and/or music), choose the ‘Configure Game’ option.
    [Show full text]
  • Port Replicator*
    ® Personal Computer Reference Manual Model No. CF-07 Series Contents LED Indicators ................................................... 2 98 2000 Standby/Hibernation Functions ....................... 3 Security Measures............................................. 8 Computing on the Road................................. 14 Battery Power ................................................. 15 CD-ROM Drive* ............................................... 19 PC Cards ......................................................... 21 Port Replicator* .............................................. 23 Printer* ............................................................ 24 External Display * ........................................... 25 USB Devices ................................................... 26 LAN * ................................................................ 27 Setup Utility* ................................................... 29 Technical Information .................................... 35 DMI Viewer ...................................................... 36 In this manual, the term “external display” indi- cates a “wired” display with an RGB analog 15- List of Error Codes* ....................................... 37 pin interface. Dealing with Problems (Advanced) ...................... 39 * Only when the port replicator is connected Illustrations in this Reference Manual NOTE: NOTE provides a useful fact or helpful information CAUTION: CAUTION indicates a condition that may result in minor or moderate injury. WARNING: WARNING indicates
    [Show full text]
  • [D:]Path[...] Data Files
    Command Syntax Comments APPEND APPEND ; Displays or sets the search path for APPEND [d:]path[;][d:]path[...] data files. DOS will search the specified APPEND [/X:on|off][/path:on|off] [/E] path(s) if the file is not found in the current path. ASSIGN ASSIGN x=y [...] /sta Redirects disk drive requests to a different drive. ATTRIB ATTRIB [d:][path]filename [/S] Sets or displays the read-only, archive, ATTRIB [+R|-R] [+A|-A] [+S|-S] [+H|-H] [d:][path]filename [/S] system, and hidden attributes of a file or directory. BACKUP BACKUP d:[path][filename] d:[/S][/M][/A][/F:(size)] [/P][/D:date] [/T:time] Makes a backup copy of one or more [/L:[path]filename] files. (In DOS Version 6, this program is stored on the DOS supplemental disk.) BREAK BREAK =on|off Used from the DOS prompt or in a batch file or in the CONFIG.SYS file to set (or display) whether or not DOS should check for a Ctrl + Break key combination. BUFFERS BUFFERS=(number),(read-ahead number) Used in the CONFIG.SYS file to set the number of disk buffers (number) that will be available for use during data input. Also used to set a value for the number of sectors to be read in advance (read-ahead) during data input operations. CALL CALL [d:][path]batchfilename [options] Calls another batch file and then returns to current batch file to continue. CHCP CHCP (codepage) Displays the current code page or changes the code page that DOS will use. CHDIR CHDIR (CD) [d:]path Displays working (current) directory CHDIR (CD)[..] and/or changes to a different directory.
    [Show full text]
  • Cd-Rom Drive Owner's Manual
    CD-ROM DRIVE OWNER'S MANUAL MODEL : CRD-8320B To enjoy fully all the features and functions of your CD-ROM Drive, Please read this Owner's Manual carefully and completely. CAUTION: The laser used in the CD-ROM drive can damage your eyes. Do not attempt to open the cover. To reduce the risk of electric shock, do not remove cover (or back). No user-serviceable parts inside. Refer servicing to qualified service personnel. This unit uses CD-ROM discs marked with this symbol: Use of controls or performance of procedures other than those specified herein may result in hazardous radiation exposure. PRODUCT COMPLIES WITH DHHS RULES 21 C.F.R. SUB-CHAPTER J, IN EFFECT AT THE DATE OF MANUFACTURE. WARNING: To reduce the risk of fire or electric shock, do not expose this appliance to rain or moisture. CSA Notice This class B digital apparatus meets all requirements of the Canadian Interference-Causing Equipment Regulations. Cet appareil numerique de la classe B respecte toutes les exigences du Reglement sur le materiel brouilleur du Canada. FCC COMPLIANCE STATEMENT Note : This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation.
    [Show full text]
  • Equity 4+ and Sound Blaster Discovery CD 16
    EPSON AMERICA, INC. EPSON Product Support Bulletin Subject: EPSON Equity 4+ and Sound Blaster Discovery CD 16 Date: 04/08/94 PSB No: S-0172 Page(s): 1 of 5 Originator: JAM The purpose of this bulletin is to provide information regarding the installation and compatibility of the Sound Blaster Discovery CD 16. 1. Hardware Configuration: Product Code CPU: Epson Equity 4+ 80486SX/25 Processor Memory: 4.0 Mb Standard Additional: not applicable BIOS Rev: AMI/Seiko Epson Corp. D486-6080-112593KF FDD: Mitsumi D-359T3, 1.44Kb 3.5” disk drive HDC: Integrated on Main Logic Board HDD: Conner CP-3104 Video: Cirrus GD5442 Video chip, 512KB, Upgradeable to 1 MB [ External VGA port provided on rear of unit ] Display: Epson Professional Series VGA monitor (A804241) 2. Operating Systems: Microsoft DOS Version 6.2 Microsoft Windows Version 3.1 Microsoft DOS was loaded in a default mode. 3. Windows Installation: Microsoft Windows Version 3.1 installed. ‘Express Setup’ (Microsoft Recommended) installation routine used for the install. 4. Compatibility: The system is compatible with the Sound Blaster Discovery CD 16 Multimedia system by Creative Labs Incorporated using Microsoft DOS version 6.2. Installation time approximately 30 minutes. The system was also tested with Microsoft DOS version 6.0 and Microsoft DOS version 5.0. The Sound Blaster Discovery CD 16 Multimedia product is compatible with those operating systems. PSB No: S-0172 Page: 2 of 5 The following information is provided for reference purposes only. The AUTOEXEC.BAT and the CONFIG.SYS files are actual examples of the tested system.
    [Show full text]
  • Microsoft Windows "Chicago"
    Microsoft Windows ‘‘Chicago’’ Reviewer’s Guide Beta-1 The information discussed in this guide is based on features and functionality present either in the Beta-1 release of Chicago, or planned for a future release. The discussion of Chicago herein, does not represent a commitment on the part of Microsoft for providing or shipping the features and functionality discussed in the final retail product offerings of Chicago. This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. Table of Contents INTRODUCTION ....................................................1 Welcome ..................................................................................1 Chicago Mission......................................................................1 Where We’ve Been.................................................................................................1 Where We Are Today.............................................................................................1 Where We’re Headed .............................................................................................2 How We Get There.................................................................................................3 A Quick Preview of Chicago’s Top Features ........................4 Even Easier.............................................................................................................4 Faster and More Powerful ......................................................................................5
    [Show full text]
  • &Kdswhu ' 8Vlqj 0Lfurvriw 06
    &KDSWHU' 8VLQJ 0LFURVRIW06'26 &KDSWHU'8VLQJ0LFURVRIW06'26 '8VLQJ0LFURVRIW06'26 After having explained the installation of the ICP Controller and the host-drives in chapters B and C, we now explain how to install the operating system MS-DOS. By using some ex- amples, we shall demonstrate how to partition a host-drive, transfer MS-DOS to the host- drive, install Windows 3.x and use a CD-ROM drive (standing for any other Not Direct Access Device) under MS-DOS. In addition, we will give you further information on how to install Windows 95. '7UDQVSDUHQF\RI+RVW'ULYHV The structure of the Host Drives, which have been installed with GDTSETUP (in chapter C), is not known to DOS. i.e., the operating system does not recognize that a given Host Drive consists of a number of hard disks forming a disk array. To DOS this Host Drive simply ap- pears as one single SCSI hard disk with the capacity of the disk array. This complete trans- parency represents the easiest way to operate disk arrays under DOS; neither DOS nor the PCI computer need to be involved in the administration of these complex disk array con- figurations. '3DUWLWLRQLQJD+RVW'ULYHDQG7UDQVIHUULQJ06'26 You can partition the host-drives installed in chapter C with GDTSETUP as well as with the MS-DOS program FDISK. However, in our explanation we shall only use GDTSETUP. For fur- ther information on FDISK, please refer to your MS-DOS manual. During the following in- stallation instructions we assume that there is not yet a boot disk in the computer system.
    [Show full text]
  • Datalight ROM-DOS User's Guide
    Datalight ROM-DOS User’s Guide Created: April 2005 Datalight ROM-DOS User’s Guide Copyright © 1999-2005 by Datalight, Inc . Portions copyright © GpvNO 2005 All Rights Reserved. Datalight, Inc. assumes no liability for the use or misuse of this software. Liability for any warranties implied or stated is limited to the original purchaser only and to the recording medium (disk) only, not the information encoded on it. U.S. Government Restricted Rights. Use, duplication, reproduction, or transfer of this commercial product and accompanying documentation is restricted in accordance with FAR 12.212 and DFARS 227.7202 and by a license agreement. THE SOFTWARE DESCRIBED HEREIN, TOGETHER WITH THIS DOCUMENT, ARE FURNISHED UNDER A SEPARATE SOFTWARE OEM LICENSE AGREEMENT AND MAY BE USED OR COPIED ONLY IN ACCORDANCE WITH THE TERMS AND CONDITIONS OF THAT AGREEMENT. Datalight and ROM-DOS are registered trademarks of Datalight, Inc. FlashFX ® is a trademark of Datalight, Inc. All other product names are trademarks of their respective holders. Part Number: 3010-0200-0716 Contents Chapter 1, ROM-DOS Introduction..............................................................................................1 About ROM-DOS ......................................................................................................................1 Conventions Used in this Manual .......................................................................................1 Terminology Used in this Manual ......................................................................................1
    [Show full text]
  • Copyrighted Material
    38400bindex.fm Page 643 Monday, December 17, 2007 10:22 PM Index Note to the reader: Throughout this index boldfaced page numbers indicate primary discussions of a topic. Ital- icized page numbers indicate illustrations. Symbols and Numbers obtaining user's logon name, 486 pipe for data transfer between utilities, 480 * (asterisk) test server for, 488 DSQuery utility for all objects, 484 Active Directory Application Mode, 4 in regular expressions, 407 Active Directory Lightweight Directory Services (AD in script for password, 488 LDS), 4 as wildcard character, 359 Active Directory Services Interface Editor (ADSIEdit), ^ (circumflex), in regular expressions, 407 468 $ (dollar sign), in regular expressions, 407 active route, 309 $username$ token, 471 Active Server Pages (ASP), 5, 551 > (greater than) sign, for output redirection, 380 installing support in IIS, 556, 556 < (less than) sign, for input redirection, 381 active session, disconnecting, with TSDiscon utility, . (period), in regular expressions, 407 436–437 ? (question mark) ActiveXObject() method, 185 in AppCmd utility, 561 activity indicator, 344 as wildcard character, 359 ADAP utility, 65 /? (command line switch), 587 ADD command (AppCmd), 571, 572 for help, 23–25, 616 add command (NetSH), 170 script code to handle, 185–186 ADD command (Route utility), 310 / (slash), for command line switch, 23–24 add disk command (DiskPart), 229 [ ] (square brackets) Add to Favorites dialog box (RegEdit), 71 for optional command input, 23 AddPrinterConnection() method, of WshNetwork object,
    [Show full text]
  • Datalight Software Development Toolkitô
    Datalight Software Ô Development Toolkit 2.0 User’s Guide Printed: April, 2000 Datalight Software Development ToolkitÔ Copyright © 1999 - 2000, Datalight, Inc. All Rights Reserved Datalight, Inc. assumes no liability for the use or misuse of this software. Liability for any warranties implied or stated is limited to the original purchaser only and to the recording medium (disk) only, not the information encoded on it. THE SOFTWARE DESCRIBED HEREIN, TOGETHER WITH THIS DOCUMENT, ARE FURNISHED UNDER A LICENSE AGREEMENT AND MAY BE USED OR COPIED ONLY IN ACCORDANCE WITH THE TERMS OF THAT AGREEMENT. DatalightÒ is a registered trademark of Datalight, Inc. ROM-DOSÔ and FlashFXÔ are trademarks of Datalight, Inc. MicrosoftÒ and MS-DOSÒ are registered trademarks of Microsoft Corporation. Part Number: 3000-0200-0163 Contents Chapter 1, About the SDTK ...............................................................................................1 SDTK Features ..............................................................................................................1 About this Manual..........................................................................................................1 Minimum Development System Requirements ...............................................................1 Recommended Reading..................................................................................................2 Requesting Technical Assistance....................................................................................2 Chapter 2, Installing
    [Show full text]