Question:
Vbs script for moving file to startup folder?
Emil
2013-05-14 03:50:34 UTC
Im trying to make a trollprank for my brother. it continues opening CMD until he types "Troll" and press enter
but how can i make it move itself to the startup folder?
Three answers:
anonymous
2013-05-18 00:26:03 UTC
Const OverwriteExisting = True

Set objFSO = CreateObject("Scripting.FileSystem Object")

objFSO.CopyFile "C:\FSO\ScriptLog.txt" , "D:\Archive\", OverwriteExisting
poggi
2016-10-21 03:17:47 UTC
Vbs Move File
?
2016-10-16 05:02:23 UTC
Are you attempting to create a malicious software?? :) i think of you will detect the command from MS-DOS on line documentation library. Use the guidance to create a shortcut interior the startup folder. ensure you employ relative paths in line with atmosphere variables. do not use absolute paths.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...