a.txt
and b.txt
are text files and in_red.exe
is a program that takes in input as characters and outputs characters till EOF
is reached.I am the admin of the system.
Also,windows gives a popup saying this app isin't available in your PC.
C:\Users\Aryamaan Jain\Desktop\io_redir>dir /b
a.txt
b.txt
in_red.exe
C:\Users\Aryamaan Jain\Desktop\io_redir>in_red.exe < a.txt >b.txt
Access is denied.
Start a Command Prompt as Administrator by right-clicking on the "Command Prompt" icon in the Windows Start Menu and choose "Run as administrator". Click Continue if you are presented with a confirmation popup message box. In the new command prompt, enter "net user administrator /active:yes".
Access is denied as you are not the owner of the folder where you are trying to execute the command. To get ownership of the folder please follow the following steps: Right click folder. Select "Properties" Select the "Security" tab.
Right-click the file or folder, and then click Properties. Click the Security tab. Under Group or user names, click your name to see the permissions that you have. Click Edit, click your name, select the check boxes for the permissions that you must have, and then click OK.
After a long search,I found out that the program in_red.exe
got corrupted(became of size 0kb) for some reason I don't know. However, I replaced the program and now the command is working perfectly.
Access is denied as you are not the owner of the folder where you are trying to execute the command. To get ownership of the folder please follow the following steps:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With