When we use DIR without any switches, we will see the following information, except:
Last Modified Time
File/Directory Name
Ownership
File Size
While we can use the % for variables in the FOR command in Command Prompt, we need to use this when we use the FOR command in a batch file:
**
%%
&&
$$
We can refresh the results of NETSTAT by using this switch:
No switch, just list the seconds (e.g. 30)
-t
-a
-o
When we use DIR without any switches, we will see the following information, except:
Answer :
Ownership
Explanation :
Dir Command displays Last Modified Time, File/Directory Name and File Size. It do not display the ownership of File/Directory
While we can use the % for variables in the FOR command in Command Prompt, we need to use this when we use the FOR command in a batch file:
Answer :
%%
Explanation :
We need to use %% for variables in the FOR command in a batch file.
We can refresh the results of NETSTAT by using this switch:
Answer :
No switch, just list the seconds (e.g. 30)
Explanation :
No need of switch, we just need to mention the seconds to refresh the results of NETSTAT.
Get Answers For Free
Most questions answered within 1 hours.