- Newest
- Most votes
- Most comments
Not sure i understand your question.
S3 home folders are mounted into AppStream session as "My Files". You want to hide them. Correct?
From inside the session, the users browse these files from Windows File Explorer. You may use Windows commands to hide the file. You could try writing a BAT file to change the attribute of the file or folders to be hidden.
attrib +h filename
Checkout the two screenshots of using attrib +h
on home folders.
Before
After running the command
I don't understand how to apply your tips though. I created a simple session-context-test.bat file in C:\Scripts folder:
@ECHO OFF CD "C:\Users\PhotonUser\My Files\Home Folder" attrib +h hiddenfolder
Then I changed the config.json file to use that script:
{ "SessionStart": { "executables": [ ... { "context": "user", "filename": "C:\Scripts\session-context-test.bat", "arguments": "", "s3LogEnabled": true ... So my question is why that hasn't worked?
Relevant content
- asked 6 months ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 24 days ago
I created a simple session-context-test.bat file in C:\Scripts folder:
@ECHO OFF CD "C:\Users\PhotonUser\My Files\Home Folder" attrib +h hiddenfolder
Then I changed the config.json file to use that script:
{ "SessionStart": { "executables": [ ... { "context": "user", "filename": "C:\Scripts\session-context-test.bat", "arguments": "", "s3LogEnabled": true ... So my question is why that hasn't worked?