byte = unit of storage. byte = 8 bits. 2 to the power of 10 = 1 Kilobyte = 1024 bytes 2 to the power of 20 = 1 Megabyte = 1048576 bytes 2 to the power of 30 = 1 Gigabyte = 1073741824 bytes 2 to the power of 40 = 1 Terabyte = 1099511627776 bytes. Kilobytes --------- How many bytes in 3 Kilobytes? 1 kilobyte = 1024 bytes 3 kilobytes = 3 times the above = 3 x 1024 = 3072 bytes Megabytes --------- How many bytes in 2 Megabytes? 1 Megabyte = 1048576 bytes 2 Megabytes = 2 times the above = 2 x 1048576 = 2097152 bytes 3.5 Megabytes=3.5 times the above=3.5 x 1048576 = 3670016 bytes Gigabytes --------- 1 Gigabyte = 1073741824 bytes 4.7 Gigabyte = 4.7 tims the above=4.7 x 1073741824= 5046586572.8 bytes Searching for files ------------------------------------------------------------ Refs: http://windows.microsoft.com/en-ie/windows7/advanced-tips-for-searching-in-windows https://msdn.microsoft.com/en-us/library/aa965711(v=vs.85).aspx 1. Files that start with the letter t filename:"t*.*" 2. filename:"*ro.*" 3. filename:"*day.*" e.g. matches monday.docx, thursday.txt, tuesday.txt, monday.txt 4. Search for all files which have the word day as the last part of the file name and are Microsoft Word files in the folder Reports. For example files with names such as Monday.docx or Tuesday.docx Write down your search string. Method 1 filename:"*day.docx" Method 2 filename:"*day.*" type:docx 5. Search for files that have 3 letters in the name e.g. ton.txt tap.txt tip.txt but not to.txt filename:"???.*" 6. Search for files where the second letter is i and are text files e.g. fi.txt fin.txt find.txt but not find.docx fi.docx filename:"?i*.txt" 7. SIZE:<10KB AND filename:"I*.txt" 8. SIZE:<10KB NOT filename:"I*.txt" 9. type:word size:<10KB 10. size:<10KB type:word filename:report AND system ============================================= 1. Get into command prompt. Start, key in cmd, press enter. 2. Observe which drive you are on. e.g. Which drive below? Drive C! Which directory below? "labuser" off "users" off "root" of drive c Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\labuser> 3. We will change to the root directory. (The top level). cd \ (change directory to the root) 4. What directory are we in now? root of drive C. What does the prompt look like? A. C:\> 5. How do you make a directory? Key in help and press enter to find out. You should see a command called MD It Makes Directory. (first letter of make is m first letter of directory is d). 6. Lets make a directory. To make a directory you must specify the name. e.g. Make a directory called FUNSTUFF. To do this key in the following and press enter: MD FUNSTUFF 7. Key in DIR (and press enter) You should see a directory called FUNSTUFF. 8. Check that you can see it in Windows Explorer. Windows Key + E (starts Explorer) 9. Lets CREATE 3 more directories MATHS PROGRAMMING OPSYS The above 3 directories are to be created inside FUNSTUFF CD FUNSTUFF (Change directory into FUNSTUFF) DIR (Nothing in it so far) MD MATHS (Make directory) DIR (We will see MATHS) MD PROGRAMMING MD OPSYS 10. DIR (You will see maths, programming, opsys) Verify in Windows explorer. 11. CHANGE DIRECTORY INTO MATHS CD MATHS 12. Change directory into the parent of maths. CD .. (Change to the parent directory). 13. Change into the parent directory of FUNSTUFF CD .. (Change to the parent directory). 14. Which directory are you in now: C:\ (Root of drive C)? 15. Change into MATHS. The following will NOT work. CD MATHS It will say "The system cannot find the path specified" So how do you get into MATHS? A. You can specify its path (this would be one way) e.g. Whats the path to MATHS? \FUNSTUFF\MATHS So you could say CD \FUNSTUFF\MATHS 16. Change to the root directory directly i.e. without using CD .. (to go up) and then CD .. (again) A. CD \