- 최신
- 최다 투표
- 가장 많은 댓글
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?
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 3년 전
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?