Quantcast
Channel: Indigo Rose Software Forums - Forums
Viewing all articles
Browse latest Browse all 2105

Cmd command

$
0
0
I am trying to run the hide command for a folder. I am aware of the hide options that setup factory includes but that is easily figured out. This method is a bit tougher and is for our security so not with the main files location.

I really need help as i can't figure out how to write to the CMD. I am trying to open CMD then execute but not sure how.

The standard method is you add to cmd that i want is
Code:
attrib +s +h
plus the directory. So in my case i can use the %AppFolder% + the folder directory.

i tried some advice from this forum to just use a batch to exe type method. But i don't always know the location and hard to setup that way. Much easier to execute the command through the CMD.

Code:
File.Run(_WindowsFolder.."attrib +s +h %AppFolder%".."\\Official\\", "C:\\WINDOWS\\system32", SW_SHOWNORMAL, true);
Please help!!!

Viewing all articles
Browse latest Browse all 2105

Latest Images

Trending Articles



Latest Images