Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

copy file to dir in Appdata

Featured Replies

Hi, I'm trying to copy this file exception.sites to \appdata\localLow\Sun\Java\Deployment\security\. But can't figure out how to do that.

I ttied {Start} and then the vbs script and {Filecopy} with the file, but it's not working .

this is the vbs script that works.

Set objFSO = CreateObject("Scripting.FileSystemObject")

set objWShell = wScript.createObject("WScript.Shell")

usrName = objWShell.expandEnvironmentStrings("%USERNAME%")

objFSO.CopyFile "exception.sites" , "C:\Users\" & usrName & "\appdata\localLow\Sun\Java\Deployment\security\", True

Anyone has a solution please?

  • Author

Thanks, but tried with
cmds[pn]=['{XCOPY} "%wpipath%\\Install\\exception.sites %APPDATA%\\localLow\\Sun\\Java\\Deployment\\security\\"'];

and it's not copying that file?

Try this

cmds[pn]=['{FILECOPY} "%wpipath%\\Install\\exception.sites" "%APPDATA%\\localLow\\Sun\\Java\\Deployment\\security"'];

or

 

cmds[pn]=['{XCOPY} "%wpipath%\\Install\\exception.sites" "%APPDATA%\\localLow\\Sun\\Java\\Deployment\\security"'];

Edited by condor

  • Author

Thanks for the suggestions, strange but still not working

Paste here error log and you config

 

LE. exception.sites is located in Install folder? or other folder from Install ?

Edited by condor

  • Author

cmd1 ** Fout ** (terug gedraaide code 999): "C:\brol4\WPI_ICT4.1\Install\exception.sites" "C:\Users\ghostie\AppData\Roaming\localLow\Sun\Java\Deployment\security"

 

 

config

prog[pn]=['Voegt java security toe voor http://www.fisme.science.uu.nl];
uid[pn]=['VOEGTJAVASECURITYTOE'];
dflt[pn]=['yes'];
forc[pn]=['no'];
bit64[pn]=['no'];
cat[pn]=['Ict-werkbalk 4.1'];
pfro[pn]=['no'];
cmds[pn]=['{XCOPY} "%wpipath%\\Install\\exception.sites" "%APPDATA%\\localLow\\Sun\\Java\\Deployment\\security"'];
desc[pn]=['Voegt java security toe'];
pn++;

  • Author

hmm now i see, it wants to go to AppData\Roaming instead to AppData\localLow, how to solve that one?

Edited by dannyict

cmds[pn]=['{XCOPY} "%wpipath%\\Install\\exception.sites" "%USERPROFILE%\\AppData\\LocalLow\\Sun\\Java\\Deployment\\security"'];

You can verify other variables from WPI-->Information-->Variables

Edited by condor

  • Author

thanks,

did not work but works with {FILECOPY} and \\ at the end

cmds[pn]=['{FILECOPY} "%wpipath%\\Install\\exception.sites" "%USERPROFILE%\\AppData\\localLow\\Sun\\Java\\Deployment\\security\\"'];

I think XCOPY is for folders. I forget ms-dos commands :D

 

Also work with this

 

cmds[pn]=['{FILECOPY} "%wpipath%\\Install\\exception.sites" "%USERPROFILE%\\AppData\\LocalLow\\Sun\\Java\\Deployment\\security"'];

 

without \\ at the end

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.