gkaindia.com

Home > > Is the path for calling the script correct?

Is the path for calling the script correct?

Advertisement
Hello.
Please see my attachment. I have simply copied the command line from Postinstall->Copy Scripts and replaced with the correct filename. Is the path in the command line correct for executing the script? I am trying to deploy a new wallpaper. However, I am
getting errors : 2147467259 0x80004005.
Here is the error in deployment :
Regards, Rune
Advertisement
Hi,
I solved it. Ran this script from ZeusABJ and called it in TS right after 'Install Applicaions' with "%SCRIPTROOT%\scriptname.bat" :
@ECHO OFF
TITLE Set Custom Wallpaper for Windows 7
ECHO Set Custom Wallpaper for Windows 7:
ECHO.
:: Set script execution directory:
SET _thisdir=%~dp0
:: Take ownership of original default Wallpaper file:
TAKEOWN /F %SystemRoot%\Web\Wallpaper\Windows\img0.jpg
:: Replace ACLS for original default Wallpaper file with default inherited ACLS:
ICACLS %SystemRoot%\Web\Wallpaper\Windows\img0.jpg /reset
:: Rename original Wallpaper file so it will still be present and usable:
RENAME %SystemRoot%\Web\Wallpaper\Windows\img0.jpg imgX.jpg
:: Copy custom Wallpaper to default Wallpaper location:
XCOPY "%_thisdir%CopyDir\*.*" "%SystemRoot%\Web\Wallpaper\Windows" /D /E /C /R /I /K /Y
Read the other 2 answers

Related Articles

I would like to get hold of the uploaded file name and full path in the event script "BefExportToDat", as I need to extract values from particular fields. However I have not yet found a way to do this. - The input variable "strFile" re
I imported different trips to different catalogs on different external hard drives.  Later renamed external HDs.  I want to combine catalogs and have my source (NEF) files all together on one drive.  I'm not really sure how to get those source files
Hi to everybody I made probably a mistake somewhere trying to find a place for my 10 GB "iTunes Music" directory. To make it short the situation is as follows: Finally I moved back the "itunes music" dir to its original place in \ownfi
Hi everyone! It seems that there is some issue in CS5 with exporting document using vbscript (not sure about other scripting languages) and path containing cyrillic symbols. Error popped up every time I try to execute the line docRef.Export path & fn
Hi, I have  prepared following script for BPC 7.0 MS Version for eliminating all the amounts in IC accounts irrespective of having Trading partner value. All the IC accounts are marked with property called ELIMACC with value of ICBAL OR ICdiff. But t
I have searched and can't find this information anywhere. I want to obtain the path to the currently executing script at runtime. I know that this is possible by using the "path to me" command and saving the script as an application, but that ap
Hi! In the last days I wrote a special login/mount script for my linux-clients, to automatically mount all share for a specific user. It works perfectly But I don't know, where is the right place for this script. It's a global script for all users on
Friends, I have a bush shell that location is /u01/test/oracle/codes/jobs/test.sh . I run below command in shell  get a shell scripts parents path. SCRIPT_DIR=$(readlink -f $(dirname ${BASH_SOURCE[0]})) . But return  script location as /u01/test/orac
I am trying to building a interface with buttons to execute shell commands when the button is pressed. Below press button execute code. I am new to AppleScript and Xcode and Interface builder. I have read different post referencing spaces but I still
Hi All, I have a requirement where I have a field ZPATH1 on Adobe Interactive Form. I am putting a BROWSE button and writing following JavaScript on CLICK event on this button for populating the chosen file path into field ZPATH1. *Start of JavaScrip
I called tech support that switched me to customer care and after over half an hour on the phone, they told me to look it up in the forums.  If you have any words of wisdom, I would love to hear them now.  I guess I have to get through this registeri
I cannot find any answer any where in this forum. PLEASE Help!!!   I'm receiving this error message every I click on the link, this only happen on the desktop, but Laptop has no problem to access the file, and everyone else in my group --they don't h
I have in my .css file a command as thus: menu { font-family: "Monotype Corsiva"; This under all circumstances works, Monotype Corsiva is in OS X, and Windows OS's... but for some reason Safari won't view the font... why? This has to be a Safari
I recently converted my real estate web site to CSS using Dreamweaver CS4. I use a primary template for most of my pages, which have both a horizontal and a vertical spry menu bar. When I create a page with the template and save it in a sub-directory
Hi all Has anybody written a script or can point me in the direction of a script that will look at an image, and either tag/highlight or move that image if it has a Photoshop path (a work or saved path) and on multiple image types (.eps, .jpg) I'm su
Post Author: DaveWoo CA Forum: General Hello,Here's my situation: I'm currently upgrading from Crystal Reports for Visual Studio .NET 2003 to Crystal Reports for Visual Studio 2005. I have several reports (programmatically generated using VB.NET) tha
Hello, assume we have a script "/home/artur/tymczasowe/test.sql". I can execute it using SQL Developer by: @/home/artur/tymczasowe/test.sql Everything works as expected. Then I set parameter "Tools - Preferences - Database - Worksheet - Def
When I fill out the "Select default path to look for scripts" text box on the Worksheet page in Preferences, I expirience very bad performance when I type in sql statements. If I clear the text box agian, I have normal performance.Bug already lo
Hi All, Is it possible to set the file path to save the extracted data in report scripts, if so please let me know how to do it. We can choose the path when executing the script in script editor but how to set the file path in the script itself. Than