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 command in RunOnceEx.cmd?

Featured Replies

Is it possible to put COPY command in RunOnceEx.cmd file?? Thanks :)


Don't know if you can cause i'm just getting into this stuff

but I used a vbs script file to do it for me here is mine...

Just as a Note

I didn't check for the file folder existing when I copied the file cause I know the folder is ther already.. if the folder is not there it will not copy the file so you may need to add if exist to this...

XPCD is my environment added strings.. NOT Normally there

adshield.vbs

On Error Resume Next 
'Declare var's and objects
Dim WshS, fso, sysr, sysd, home, aup, cpf, pf, up, XPCD

Set WshS = WScript.CreateObject("WScript.Shell")
Set fso = CreateObject("Scripting.FileSystemObject")

'Expand Environment
'Create const's to spare time and place
sysr = WshS.ExpandEnvironmentStrings("%SystemRoot%")
sysd = WshS.ExpandEnvironmentStrings("%Systemdrive%")
home = WshS.ExpandEnvironmentStrings("%Homepath%")
aup = WshS.ExpandEnvironmentStrings("%AllUsersProfile%")
cpf = WshS.ExpandEnvironmentStrings("%CommonProgramfiles%")
pf = WshS.ExpandEnvironmentStrings("%Programfiles%")
up = WshS.ExpandEnvironmentStrings("%UserProfile%")
XPCD = WshS.ExpandEnvironmentStrings("%XPCD%")

fso.CopyFolder XPCD & "\Adshield\Adshield", up & "\Application Data\Adshield" , true
fso.CopyFile XPCD & "\Adshield\license.txt", pf & "\AdShield\AdShield\license.txt" , true

i'm using it with no problem like this -

cmd.exe /c \xcopy /y %systemdrive%\install\spysweeper\install.dat \"%ProgramFiles%\Webroot\Spy Sweeper\\"

and its working like a charm, hope it helped you.

Another alternative is to use self extracting archives. I had a lot of stuff I wanted to copy so I created SFXs that automatically extract to the proper folders. Saves space too.

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.