Duplicate Script Files

Does anyone know how to combat the duplicate script files that are loaded, thus hurting the page load because of unnecessary HTTP requests. As an example, these two files are being loaded:
/plumtree/common/private/js/jsutil/LATEST/PTUtil.js
/plumtree/common/private/js/jsutil/334989/PTUtil.js
They are the exact same file, but because they have a different path, the browser has to load them both. Has anyone found a way to stop loading files from one of these locations?

It doesn't seem to happen within administration. Maybe you could try overriding the admin pages with the actual site content using javascript document.writes. That way users would go through the admin experience for all pages. You just need to make sure that you don't overwrite admin because then you won't be able to do anything. Make sure to recycle the app pool on the front end servers after you override admin. Also, the best way to do this is using a dynamic group experience definition. You can set it to be all of the users who don't not have access. Then set it to run at around 6pm or so which is right after the day ends so if anything changes throughout the day, everything will start working again the next morning. Hope this helps.

Similar Messages

  • Help with delete duplicate locked files

    I'm kinda new at this so forgive me if I'm a bonehead.
    I made a contribute site, then wanted to disable check in
    check out. All the files have duplicate locked files remaining on
    server and they take eons to ftp. Is there an easy way to delete
    them all? I delete on server and they mysteriously are still there
    the next time I reupload files...I first thought it was a DWMX ftp
    problem, but same deal with GoLive.
    Yipes! Any help is appreciated.

    Hi,
    I have very limited experience with Automator, but my guess is it's not up to the task. I'm trying to do something similar in iTunes but the actions under Finder don't seem to work properly. ( If you select 'Find Finder Items' and set the Whose field to Extension and Is Equal To and use the parameter 'mp3' it seems to work as expected. If you set the Whose field to Name and Ends with it only returns directories.) I'm thinking I need to look into actual scripting. Anyone have thoughts on this?
    Mike

  • HELP!! How can I find and delete duplicate mp3 files.

    I have a zillion copies of songs and I want to find and delete duplicate mp3 files. I have used MediaRage to find the duplicate files (16 thousand or so) but it can't delete them. It will take a million yrs to delete them manually. Does anyone know a way to do this quickly or a program that will do this for me. I have a 15 in Powerbook with OS 10.5.3
    Thanks so much if you can help.

    This site: http://dougscripts.com/itunes/ has hundreds of scripts (small programs that do stuff) for iTunes.
    Bound to be something there for you.

  • What is the best way for cleaning up duplicate iTunes files in iCloud?

    I have about 5000 of my songs in iTunes that are duplicates in iTunes, when I go to delete them it asks me to delete in iCloud too. I do this and then another file is either uploaded or downloaded with iClouds. Is there a webbased way to access iCloud and clean up duplicate iTune songs?

    iTunes 11 has removed the Show Duplicates/Exact Duplicates functions so I've added two new scripts to make playlists of Duplicates and Exact Duplicates to my scripts collection.
    If deduping by hand use shift-delete to remove selected tracks from the library as well as the playlist.
    The Exact Duplicates script makes a good starting point from which to run my DeDuper script if you don't want to do it by hand. Please take note of the warning to backup your library before deduping.
    tt2

  • Duplicate MP3 files

    After upgrading to the latest version of iTunes (11.0.1), I noticed that there are now duplicate MP3 files for all of the tracks for which Gracenote has found album artwork. While the duplicate tracks aren't visible as duplicates within iTunes, the duplicates are clearly visible within the source folders when I view them with Finder. In each case, the track that I had originally loaded is shown with the default "dual music note" icon, and the duplicate track is shown as "(song title) 1.mp3" with a miniature icon of the album artwork. How did this happen? How can I delete the duplicate entries in a systematic way, without doing it track-by-track for my entire library? How can I prevent this issue from recurring? My MP3 library is huge, so this duplication is eating up significant hard drive space.

    whoa talk about duplicates. thanks for the link, i figured out how to "show duplicates" within itunes. i suppose what i'm looking for is a script for spotlight that will identify duplicates on my hard drive with the exact same name and either delete them for me, or give me an easier way to delete them myself (besides weeding through each mp3 and deleting whatever comes up twice)

  • Script file for test automation.

    I have a file “HPE3631A configure output.vi” (DC power supply). This file I downloaded from NI web for using control our DC power supply. I would like to use a script file that can automatically process and configure the output voltage, current parameter? I do not have to click mouse for change the voltage and current parameter. We would like use this script file as one of our test automation.
    What format file can use as a script? Is any example file I can use as a reference (it does not have to be HPE3631A).

    I don't have an example. You are free to create a script file in any format that you want. To give you a little help, say you have a comma separated file. The first field could be instrument address. The second field could be a function. This might be Initialize, Configure Voltage,Configure Trigger, etc. The following fields could be parameters that you pass. Some functions would require more parameters than others. Look at the number of functions in the driver and see if you want to duplicate them and how many parameters they require or whether you want to break some of them down into something smaller. When you've decided that, then you can determine how to read the file and parse out the commands. Do you want to do error checking here or someplace else? What I mean is, what if the file contains the word "Initilize" instead of "Initialize". What if a voltage parameter is out of bounds?
    Like I mentioned, you could have a LabVIEW VI generate the script. Imagine a front panel text ring in which you have listed all of the various functions. If function b is selected, have logic that displays the correct number (and type) of other parameters required. When the selection is complete, click an OK button to display the new step in a table. A table is nothing more than a 2D string array so saving it to a file is then simple.

  • 3 questions regarding duplicate script

    3 questions regarding duplicate script
    Here is my script for copying folders from one Mac to another Mac via Ethernet:
    (This is not meant as a backup, just to automatically distribute files to the other Mac.
    For backup I'm using Time Machine.)
    cop2drop("Macintosh HD:Users:home:Desktop", "zome's Public Folder:Drop Box:")
    cop2drop("Macintosh HD:Users:home:Documents", "zome's Public Folder:Drop Box:")
    cop2drop("Macintosh HD:Users:home:Pictures", "zome's Public Folder:Drop Box:")
    cop2drop("Macintosh HD:Users:home:Sites", "zome's Public Folder:Drop Box:")
    on cop2drop(sourceFolder, destFolder)
    tell application "Finder"
    duplicate every file of folder sourceFolder to folder destFolder
    duplicate every folder of folder sourceFolder to folder destFolder
    end tell
    end cop2drop
    1. One problem I haven't sorted out yet: How can I modify this script so that
    all source folders (incl. their files and sub-folders) get copied
    as correspondent destination folders (same names) under the Drop Box?
    (At the moment the files and sub-folder arrive directly in the Drop Box
    and mix with the other destination files and sub-folders.)
    2. Everytime before a duplicate starts, I have to confirm this message:
    "You can put items into "Drop Box", but you won't be able to see them. Do you want to continue?"
    How can I avoid or override this message? (This script shall run in the night,
    when no one is near the computer to press OK again and again.)
    3. A few minutes after the script starts running I get:
    "AppleScript Error - Finder got an error: AppleEvent timed out."
    How can I stop this?
    Thanks in advance for your help!

    Hello
    In addition to what red_menace has said...
    1) I think you may still use System Events 'duplicate' command if you wish.
    Something like SCRIPT1a below. (Handler is modified so that it requires only one parameter.)
    *Note that the 'duplicate' command of Finder and System Events duplicates the source into the destination. E.g. A statement 'duplicate folder "A:B:C:" to folder "D:E:F:"' will result in the duplicated folder "D:E:F:C:".
    --SCRIPT1a
    cop2drop("Macintosh HD:Users:home:Documents")
    on cop2drop(sourceFolder)
    set destFolder to "zome's Public Folder:Drop Box:"
    with timeout of 36000 seconds
    tell application "System Events"
    duplicate folder sourceFolder to folder destFolder
    end tell
    end timeout
    end cop2drop
    --END OF SCRIPT1a
    2) I don't know the said error -8068 thrown by Finder. It's likely a Finder's private error code which is not listed in any of public headers. And if it is Finder thing, you may or may not see different error, which would be more helpful, when using System Events to copy things into Public Folder. Also you may create a normal folder, e.g. named 'Duplicate' in Public Folder and use it as desination.
    3) If you use rsync(1) and want to preserve extended attributes, resource forks and ACLs, you need to use -E option. So at least 'rsync -aE' would be required. And I rememeber the looong thread failed to tame rsync for your backup project...
    4) As for how to get POSIX path of file/folder in AppleScript, there're different ways.
    Strictly speaking, POSIX path is a property of alias object. So the code to get POSIX path of a folder whose HFS path is 'Macintosh HD:Users:home:Documents:' would be :
    POSIX path of ("Macintosh HD:Users:home:Documents:" as alias)
    POSIX path of ("Macintosh HD:Users:home:Documents" as alias)
    --> /Users/home/Documents/
    The first one is the cleanest code because HFS path of directory is supposed to end with ":". The second one also works because 'as alias' coercion will detect whether the specified node is file or directory and return a proper alias object.
    And as for the code :
    set src to (sourceFolder as alias)'s POSIX Path's text 1 thru -2
    It is to strip the trailing '/' from POSIX path of directory and get '/Users/home/Documents', for example. I do this because in shell commands, trailing '/' of directory path is not required and indeed if it's present, it makes certain command behave differently.
    E.g.
    Provided /a/b/c and /d/e/f are both directory, cp /a/b/c /d/e/f will copy the source directory into the destination directory while cp /a/b/c/ /d/e/f will copy the contents of the source directory into the destination directory.
    The rsync(1) behaves in the same manner as cp(1) regarding the trailing '/' of source directory.
    The ditto(1) and cp(1) behave differently for the same arguments, i.e., ditto /a/b/c /d/e/f will copy the contents of the source directory into the destination directory.
    5) In case, here are revised versions of previous SCRIPT2 and SCRIPT3, which require only one parameter. It will also append any error output to file named 'crop2dropError.txt' on current user's desktop.
    *These commands with the current options will preserve extended attributes, resource forks and ACLs when run under 10.5 or later.
    --SCRIPT2a - using cp(1)
    cop2drop("Macintosh HD:Users:home:Documents")
    on cop2drop(sourceFolder)
    set destFolder to "zome's Public Folder:Drop Box:"
    set src to (sourceFolder as alias)'s POSIX Path's text 1 thru -2
    set dst to (destFolder as alias)'s POSIX Path's text 1 thru -2
    set sh to "cp -pR " & quoted form of src & " " & quoted form of dst
    do shell script (sh & " 2>>~/Desktop/cop2dropError.txt")
    end cop2drop
    --END OF SCRIPT2a
    --SCRIPT3a - using ditto(1)
    cop2drop("Macintosh HD:Users:home:Documents")
    on cop2drop(sourceFolder)
    set destFolder to "zome's Public Folder:Drop Box:"
    set src to (sourceFolder as alias)'s POSIX Path's text 1 thru -2
    set dst to (destFolder as alias)'s POSIX Path's text 1 thru -2
    set sh to "src=" & quoted form of src & ";dst=" & quoted form of dst & ¬
    ";ditto "${src}" "${dst}/${src##*/}""
    do shell script (sh & " 2>>~/Desktop/cop2dropError.txt")
    end cop2drop
    --END OF SCRIPT3a
    Good luck,
    H
    Message was edited by: Hiroto (fixed typo)

  • Error unable to open script file

    I have been using DW8 since it came out. I am running Windows 7. Everything was working fine until I had hard drive failure. Replaced hard drive reinstalled Windows and DW8. Now when I try to insert an image I get the message "unable to open java script file c:\program files\Macromedia\Dreamweaver 8\configuration\objects\common\AccessibleImage.js (error 2)".
    I have done the usual--rename config file--reinstall DW8--clean register and reinstall--run as admin.--run in compatibility with XP SP2, etc. but nothing works.
    Help would be invaluable to me.

    Your version isn't listed here but something on this page may help you...
    http://helpx.adobe.com/dreamweaver/kb/troubleshoot-javascript-errors-dreamweaver-cs4.html

  • Duplicate folders/files can't be deleted

    Some duplicate folders/files may caused read error on the filesystem. After deleted those folders/files, the XSAN client seems work now.
    However some duplicate folders/files still automaticaly gengrated and be seen on Server side(highlighted below).Those files won't be seen on client machine and are all unable to be deleted.
    Can't you help us to figure out what's the problem?
    [root@NLEMDC-1 snfs1]# ls -lah
    total 83G
    drwxrwxrwx 14 root root 2.0K Jan 15 12:08 .
    drwxr-xr-x 4 root root 32K Jan 8 10:16 ..
    drwxr-xr-x 5 516 root 2.0K Sep 21 10:32 co
    -rw-rw-rw- 1 501 root 6.1K Jan 15 12:07 .DS_Store
    -rw-rw-rw- 1 501 root 6.1K Jan 15 12:07 .DS_Store
    drwxr-xr-x 5 516 root 2.0K Oct 1 16:34 fruit
    drwxrwxrwx 2 516 root 2.0K Jun 25 2009 koc2009
    -rw-r--r-- 1 517 root 37G Jul 14 2009 koc-color-test.mov
    drwxr-xr-x 3 505 root 2.0K May 21 2009 mac-1-backup
    drwxr-xr-x 4 516 root 2.0K May 21 2009 mac-2-backup
    drwxr-xr-x 4 501 root 2.0K Jun 5 2009 mac-4-backuo
    drwxr-xr-x 5 506 root 2.0K Sep 4 16:07 mm
    -rw-r--r-- 1 517 root 25G Jul 13 2009 sport_grd03.mov
    -rw-r--r-- 1 517 root 22G Jul 13 2009 sport.mov
    drwxr-xr-x 2 501 root 2.0K Jun 5 2009 Test Folder
    d-wx-wx-wt 2 root 80 2.0K Jan 15 16:59 .Trashes
    d-wx-wx-wt 2 root 80 2.0K Jan 15 16:59 .Trashes
    --w--w--w- 1 root 80 4.0K Jan 15 12:06 ._.Trashes
    --w--w--w- 1 root 80 4.0K Jan 15 12:06 ._.Trashes
    -rw-r--r-- 1 517 games 22K Jul 14 2009 Untitled Project 1.fcp
    -rw-r--r-- 1 517 games 19K Jul 14 2009 Untitled Project 2.fcp
    drwxr-xr-x 2 517 root 2.0K Jun 3 2009 yo

    If the OS is saying they're in use, they are. That message indicates that something on the boot drive is linked to the other disk or vice-versa. Quit all applications and try deleting again. If you get the same message, you'll have to track down what's open. One way is to launch the Terminal.app in /Applications/Utilities/, type in this command, hit the return key, and get the /dev/disk information for the attached disks:
    df -h
    This is an example of what you should see:
    /dev/disk0s10 52162400 35274040 16888360 68% /Volumes/<name of other HD>
    Then, enter this command, hit the return key, and peruse the output for the culprit(s) on that other drive:
    lsof /dev/disk0s10
    The only thing that should be listed is something like this, but that shouldn't prevent the disk from unmounting.
    Finder 260 username 27r VDIR 14,20 68 425847 /Volumes/HD/.Trashes/501
    If there are other processes and open files, you'll have to stop the processes. Launch Activity Monitor, check the process number that's running (in this example it's Finder w/process #260), select it, click on the Quit Process button, and click on the Quit button in the dialog box that pops up. Now, try deleting the folders.
    G4 450 MP Gigabit   Mac OS X (10.4.9)  

  • How to Print Post Script Files

    Hi All,
    I am trying to make a utility software in foxpro that could print post script file on:-
    1) Post script printer
    2) Non Post Script printer
    Operating System Windows 95 & above
    Help is requested from all the community members
    Reagards
    Harsh

    PostScript printer - send it to the printer port e.g. LPT1: with a simple copy.
    Non-PostScript printer - you'll need to buy a PostScript RIP, or perhaps use Acrobat Distiller to convert the PostScript to PDF, then print the PDF with Acrobat's API - see the Acrobat SDK. (This is not possible with the free Reader).

  • How can I assign a action to a button of the many scripts in the script file.

    How can I assign one action of many actions in a script file.
    I have many actions in a script file and I want to run one of them by clicking a button on the panel. However, loading the script I can not isolate the action that interests me.

    Hello,
    Try System Preferences>Energy Saver>Options tab, uncheck Allow power button to sleep computer.
    Some possible other options...
    Control-Eject
    The dialog box "Are you sure you want to shut down your computer now?" appears with options to Restart, Sleep, Cancel or Shut Down. After the dialog appears, press the R key to Restart, press the S key to Sleep, press the Esc key to Cancel, or press the Return key to Shut Down.
    Control-Command-Eject
    Quits all applications (after giving you a chance to save changes to open documents) and restarts the computer.
    Control-Option-Command-Eject
    Quits all applications (after giving you a chance to save changes to open documents) and shuts the computer down.
    Command-Option-Eject
    Puts the computer to sleep.
    Shift-Control-Eject
    Puts all displays to sleep.
    Power button (if the computer is not responding)
    Press and hold the power button on the computer for six seconds to shut down the computer.
    http://support.apple.com/kb/ht2448

  • How can you detect (from a script file) that javac found problems?

    The subject line says it all, but the background is:
    I have a script file (.bat, since am stuck on windoze for the moment) which is doing some compilation using javac.
    I would like to skip all subsequent activities in the script file after the call to javac if any file failed to compile.
    So, what can I use as a signal from javac that it found a problem?
    I initially tried detecting an exit code from javac that was non zero, but javac does not seem to emit such an exit coe when it objects to a file (it still returns with 0 as an exit code).
    The only remaining strategy that I can think of is to pipe javac's output to a file, and if there is any content in it then assume that it indicates an error and use that as a signal.
    This is suboptimal because it will give false signals for mere warnings, so if anyone has a better suggestion, please post

    You are right: it appears that javac does exit with an exit code of 1 if an error is detected in one of the files being compiled, at least on the windows jdk.
    To prove this, create an arbitrary java source file called HelloWorld.java, and create a msdos .bat file in the same directory that looks like
    @echo on
    javac  -Xlint:deprecation  HelloWorld.java
    :handleError
    @if not errorlevel 1 goto finalActions
    @echo ERROR DETECTED: compile.bat will TERMINATE PREMATURELY
    :finalActions
    @echo compile.bat now terminatedBy playing around with what you put in the source file (totally clean code, stuff that should compile but issue a warning, and garbage that should not compile) as well as with the exit code value detected by the .bat file, for instance trying
    @if not errorlevel 2 goto finalActions(see http://www.robvanderwoude.com/errorlevel.html if you need some documentation on error codes in dos bat files), I have determined the following as javac's behavior on windows:
    If code is pristine, exit code = 0.
    If code causes javac to emit a warning but is compilable, exit code = 0.
    If code cannot be compiled, exit code = 1.

  • How do I find duplicate songs/files in iTunes 11?

    How do I find duplicate songs/files in iTunes 11?
    Earlier versions of iTunes had a simple menu option to click on.
    All duplicates would then be listed. Cannot find this option now.
    Regards ..... blayk.

    If you want to free up your memory, maybe first checking to see if you got duplicates. -
    From the File menu in iTunes, choose Show Duplicates. iTunes will then list all of the duplicate titles in your library.
    If you delete a music in the iTunes folder, then when you try to play that particular music in your iTunes, it won't work as iTunes wouldn't be able to find it. However, when you import music on to your computer, always import straight into your iTunes, no where else.

  • Intermittent : The term 'get-date' is not recognized as the name of a cmdlet, function, script file, or operable program.

    I have developed a batch harness whereby all scheduled tasks (W2012) invoke a common powershell script that acts as a wrapper to all our housekeeping jobs.
    The first step in the wrapper is to create a Transcript file using following code
    if ($Host.name -ne "Windows PowerShell ISE Host") # Transcript does not work within ISE
    $timestamp = (get-date -format "yyyy-MM-dd-HH-mm-ss.fff")
    $path = "c:\corp\$timestamp" + "_$pid.txt"
    Start-Transcript -path $path -append
    As expected the folder contains files with timestamp & pid in name
    08/08/2013  11:00 AM            14,388 2013-08-08-11-00-01.158_1620.txt
    08/08/2013  11:00 AM            12,506 2013-08-08-11-00-01.485_936.txt
    08/08/2013  11:00 AM            12,994 2013-08-08-11-00-01.735_9328.txt
    08/08/2013  11:00 AM            12,024 2013-08-08-11-00-01.766_8624.txt
    08/08/2013  11:00 AM            13,902 2013-08-08-11-00-01.860_1756.txt
    08/08/2013  11:01 AM            15,142 2013-08-08-11-01-31.392_10120.txt
    08/08/2013  05:00 AM            14,982 _1692.txt
    However note the last file, it has a zero length date time value in the name
    The error recorded by PowerShell is
    get-date : The term 'get-date' is not recognized as the name of a cmdlet, function, script file, or operable program.
    Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At C:\Corp\Powershell\DMPRun-ScheduledTask.ps1:171 char:18
    +    $timestamp = (get-date -format "yyyy-MM-dd-HH-mm-ss.fff")
    +                  ~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (get-date:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException
    IE get-date has failed and returned a zero length field as the timestamp
    Can anyone think of a good reason why get-date would fail intermittently?
    Do I have to code defensively for base Powershell functions?

    I implemented David's suggestion and now I intermittently get
    import-module : Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
    At D:\temp\loop_jc2_2013_11_25_08_55_02.ps1:15 char:1
    + import-module Microsoft.Powershell.Utility
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Import-Module], UnauthorizedA
       ccessException
        + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.Pow
       erShell.Commands.ImportModuleCommand
    I added a trap chain (My Powershell skills do not yet include recursive trap coding, any suggestions welcome)
    trap {
        trap {
            "Trap1"
            "Exception: " + $_
            "Error: " + $Error[0]
            "Message: " + $_.Exception.Message
            "InnerException: " + $_.Exception.InnerException
            "StackTrace: " + $_.Exception.StackTrace
            "FailedItem: " + $_.Exception.ItemName
            import-module Microsoft.Powershell.Management
            import-module Microsoft.Powershell.Security
            import-module Microsoft.Powershell.Utility
        "Trap2"
        "Exception: " + $_
        "Error: " + $Error[0]
        "Message: " + $_.Exception.Message
        "InnerException: " + $_.Exception.InnerException
        "StackTrace: " + $_.Exception.StackTrace
        "FailedItem: " + $_.Exception.ItemName
        import-module Microsoft.Powershell.Management
        import-module Microsoft.Powershell.Security
        import-module Microsoft.Powershell.Utility
    import-module Microsoft.Powershell.Management
    import-module Microsoft.Powershell.Security
    import-module Microsoft.Powershell.Utility
    trap {
        "Trap3"
        "Exception: " + $_
        "Error: " + $Error[0]
        "Message: " + $_.Exception.Message
        "InnerException: " + $_.Exception.InnerException
        "StackTrace: " + $_.Exception.StackTrace
        "FailedItem: " + $_.Exception.ItemName
        exit 1
    get-date
    Now I intermittently get ..
    Trap2
    Exception: Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
    Error: Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
    Message: Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
    InnerException:
    StackTrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.Threading.Mutex.MutexTryCodeHelper.MutexTryCode(Object userData)
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       at System.Threading.Mutex.CreateMutexWithGuaranteedCleanup(Boolean initiallyOwned, String name, Boolean& createdNew, SECURITY_ATTRIBUTES secAttrs)
       at System.Threading.Mutex..ctor(Boolean initiallyOwned, String name, Boolean& createdNew, MutexSecurity mutexSecurity)
       at System.Threading.Mutex..ctor(Boolean initiallyOwned, String name, Boolean& createdNew)
       at System.Management.Automation.AnalysisCache.CacheExportedCommands(PSModuleInfo module, Boolean force, ExecutionContext context)
       at Microsoft.PowerShell.Commands.ModuleCmdletBase.LoadUsingModulePath(PSModuleInfo parentModule, Boolean found, IEnumerable`1 modulePath, String name, SessionState ss, ImportModuleOptions options, ManifestProcessingFlags manifestProcessingFlags,
    PSModuleInfo& module)
       at Microsoft.PowerShell.Commands.ImportModuleCommand.ImportModule_LocallyViaName(ImportModuleOptions importModuleOptions, String name)
       at Microsoft.PowerShell.Commands.ImportModuleCommand.ProcessRecord()
       at System.Management.Automation.CommandProcessor.ProcessRecord()
    FailedItem:
    import-module : Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
    At D:\temp\loop_jc2_2013_11_25_09_19_52.ps1:26 char:1
    + import-module Microsoft.Powershell.Security
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Import-Module], UnauthorizedA
       ccessException
        + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.Pow
       erShell.Commands.ImportModuleCommand

  • How can I run a SQL script file...

    How can I run a SQL script file from a location on my computer without providing the whole path?
    Is there some way I can set a "Working folder" in SQL Plus??
    Thanks!
    Tom

    You can create an environment variable called "SQLPATH" which is a list of directories that SQL*Plus will search for your .SQL
    scripts.
    I would like to use another directory than the oracle/bin...
    How can I do this ??
    Hello,
    U can do this by this way:
    Save odm_script.sql file to the default Oracle
    directory i.e. Oracle-Home/bin and Run following command
    through SQL Plus.
    SQL>@Script_Name
    I hope this will resolve ur problem.
    Regards,
    Omer Saeed Khan.

Maybe you are looking for

  • Problem with Joint Stereo

    Hello all, I have a weird problem which seems to be related to Joint Stereo MP3's played in iTunes (I have 10.3.1 but I've noticed it since an older version). The Stereo sound is a little weird compared to normal Stereo. I also imported the Joint Ste

  • HT1498 The 'Cast and Crew' credits when renting and buying movies

    The 'Cast and Crew' credits when renting and buying movies only shows the Director, Actors and Producers... Surely there should be a fuller credit list? At least the heads of each department?

  • AddCollectionInCollectionEnd filter is not working

    I am trying to put some values in a metadata field on end of folder creation, but it seems that addCollectionInCollectionEnd filter is not working Pls someone to help me out as it is very urgent. All my logic is based on this filter, i really didn't

  • Subfolders under inbox - Good or Bad?

    mrbostn wrote: In my case, we have some users with 15K items plus. Those with no subfolders, sorting is slow. Those with subfolders, sorting is fast (less items to sort) They also claim searching is quicker with subfolders. Subfolders have no effect

  • Restoring photos with all adjustments maintained to new mac

    I recently got a new iMac i7 with Snow Leopard so I installed Aperture 2 on it and upgraded it to the latest release 2.1.4 I backed up all the photos from Aperture 1.5.6 running on my G5 to a vault on an external HDD and then restored the vault on Ap