44. How to copy file names in a folder to a text file


How to copy file names in a folder to a text file.

Command

dir /b > filename.txt

1. Open command prompt
2. Navigate to the concern folder
3. Enter the command
4. Output will be saved in the filename.txt file.

Example 



43.how to restrict user logon timing in windows domain


Go to > Active directory users and computers > select users > right click > click properties > select account > click logon hours > select logon permited and select timings and click ok.