Published on

Windows Utility Commands

Authors

DOS command to send a file via FTP

Connect to the destination machine

ftp destination_address
cd path
lcd path

Send the file

put file

Exit the console

quit

Command to make a USB drive bootable

Open a DOS window and run the command

diskpart

Wait for the diskpart window to open, run the command

DISKPART>list disk

DISKPART>sel disk usb_drive_number

DISKPART>clean

DISKPART>create part pri

DISKPART>format fs=ntfs quick

DISKPART>Active

DISKPART>Assign

You can now copy the installation files to the drive.
Change the boot sequence to boot from the USB drive.
Reboot and install the system from the USB drive.

Display services running on TCP and UDP ports

netstat -lntu