Need to copy files to path that contains a wildcard!??!

Afternoon,
I am attempting to copy a set of files to multiple computers on the network (files are at a dfs link, no issue there).
The destination path on each computer is either:
"\\$computer\c$\Program Files\AASHTOWare\Trns·port Client-Server PES-LAS"
OR
\\$computer\c$\Program Files (x86)\AASHTOWare\Trns·port Client-Server PES-LAS"
The paths both have a "." in them. It is called a "middle dot" I think. It is centered between the two wordsin the path...When I run test-path it can see the path. However when I attempt to copy files to it, I get the "illegal
characters in path" error.
Below is the script I am working to get right, I hope)..
$file = "\\path\to\files\ITClientBuild\Specs2\specslas5\testcopy.txt"
$outfile = "c:\temp\las6copy.csv"
gc c:\temp\las6.txt | %{
$computer = $_
$ping = Test-Connection $computer -Count 2 -Quiet
if ($ping) {
$pathTest1 = Test-Path "\\$computer\c$\Program Files\AASHTOWare\Trns·port Client-Server PES-LAS"
$pathTest2 = Test-Path "\\$computer\c$\Program Files (x86)\AASHTOWare\Trns·port Client-Server PES-LAS"
if($pathTest1 -eq $true){
# md -Force "\\$computer\c$\windows\temp\las5a"
# cp -force "\\$computer\c$\Program Files\AASHTOWare\Trns·port Client-Server PES-LAS\las6cust.pbd" "\\$computer\c$\windows\temp\las5\*"
cp -force $file "\\$computer\\c$\\Program Files\\AASHTOWare\\Trns·port Client-Server PES-LAS\\*"
"$computer FILE PUSHED to PES-LAS dir" >> $outfile
else {"$computer las6 PATH DOES NOT EXIST!!" >> $outfile }
if ($pathTest2 -eq $true){
# md -Force "\\$computer\c$\windows\temp\las5a"
# cp -force "\\$computer\c$\Program Files (x86)\AASHTOWare\Trns·port Client-Server PES-LAS\las6cust.pbd" "\\$computer\c$\windows\temp\las5\*"
cp -force $file "\\$computer\c$\Program Files (x86)\AASHTOWare\Trns·port Client-Server PES-LAS\*"
"$computer FILE PUSHED to PES-LAS dir" >> $outfile
else {"$computer PES-LAS PATH DOES NOT EXIST!!" >> $outfile }
else {"$computer OFFLINE" >> $outfile }
My end need is to:
Create a folder on the destination workstations, copy the original file(s) to that folder, copy the newer file(s) to the paths indicated..I have had no issues previously with copying files via powershell. However this is my first time running up against
this issue.
Your assistance is greatly appreciated...(Note: I am fairly new at this...but learning all the time)
Tony.


Some reformatting of you file and removing a lot of the unnecessary and unused lines makes it easier to see where your mistakes are.  There are a few obvious ones.
$file = "\\path\to\files\ITClientBuild\Specs2\specslas5\testcopy.txt"
$outfile = "c:\temp\las6copy.csv"
Get-Content c:\temp\las6.txt |
ForEach-Object{
$computer = $_
if(Test-Connection $computer -Count 2 -Quiet){
if(Test-Path "\\$computer\c$\Program Files\AASHTOWare\Trns·port Client-Server PES-LAS"){
Copy-Item -Path $file -Destination "\\$computer\c$\Program Files\AASHTOWare\Trns·port Client-Server PES-LAS"
Out-File "$computer FILE PUSHED to PES-LAS dir" -FilePath $outfile -append
}else{
Out-File "$computer las6 PATH DOES NOT EXIST!!" -FilePath $outfile -Append
if(Test-Path "\\$computer\c$\Program Files (x86)\AASHTOWare\Trns·port Client-Server PES-LAS")
Copy-Item -Path $file -Destination "\\$computer\c$\Program Files (x86)\AASHTOWare\Trns·port Client-Server PES-LAS"
Out-File "$computer FILE PUSHED to PES-LAS dir" >> $outfile
}else{
Out-File "$computer PES-LAS PATH DOES NOT EXIST!!" -FilePath $outfile -Append
}else{
Out-File "$computer OFFLINE" -FilePath $outfile -Append
¯\_(ツ)_/¯

Similar Messages

  • I need to copy files over the network PSSession . ( Firewall / DMZ / Etc. )

    Hello
    I need to copy files over the network PSSession . ( Firewall / DMZ / Etc. )
    I have a script where I copy from my local server ( server1) to the remote server ( server2 ), but I can´t not make script that will copy from the remote server to my local by my session. From server2 to server1
    Script is as below ...:-)
    HELP : ....
    winrm s winrm/config/client '@{TrustedHosts="SERVER2"}'
        $Source = "D:\test\ok.log"
        $Destination = "D:\test\ok.log"
        $session = New-PSSession -ComputerName SERVER2
    Set-StrictMode -Version Latest
    ## Get the source file, and then get its content
    $sourcePath = (Resolve-Path $source).Path
    $sourceBytes = [IO.File]::ReadAllBytes($sourcePath)
    $streamChunks = @()
    ## Now break it into chunks to stream
    Write-Progress -Activity "Sending $Source" -Status "Preparing file"
    $streamSize = 1MB
    for($position = 0; $position -lt $sourceBytes.Length;
        $position += $streamSize)
        $remaining = $sourceBytes.Length - $position
        $remaining = [Math]::Min($remaining, $streamSize)
        $nextChunk = New-Object byte[] $remaining
        [Array]::Copy($sourcebytes, $position, $nextChunk, 0, $remaining)
        $streamChunks += ,$nextChunk
    $remoteScript = {
        param($destination, $length)
        ## Convert the destination path to a full filesytem path (to support
        ## relative paths)
        $Destination = $executionContext.SessionState.`
            Path.GetUnresolvedProviderPathFromPSPath($Destination)
        ## Create a new array to hold the file content
        $destBytes = New-Object byte[] $length
        $position = 0
        ## Go through the input, and fill in the new array of file content
        foreach($chunk in $input)
            Write-Progress -Activity "Writing $Destination" `
                -Status "Sending file" `
                -PercentComplete ($position / $length * 100)
            [GC]::Collect()
            [Array]::Copy($chunk, 0, $destBytes, $position, $chunk.Length)
            $position += $chunk.Length
        ## Write the content to the new file
        [IO.File]::WriteAllBytes($destination, $destBytes)
        ## Show the result
        Get-Item $destination
        [GC]::Collect()
    ## Stream the chunks into the remote script
    $streamChunks | Invoke-Command -Session $session $remoteScript `
        -ArgumentList $destination,$sourceBytes.Length
        Remove-PSSession -Session $session

    But have will the script look,  if i need to copy from
    From server2 to server1.
    My script copy from server1 to server2 and working, but I need server2
    to server1.

  • Virtual App needs to copy files

    I'm trying to virtualize a new version of an application that I've been able to successfully virtualize in the past. The new version has a new twist though. The program wants / needs to copy files from c:\program files (x86)\dir1\dir2 to %LOCALAPPDATA%\dir1\dir2. I am able to capture and build the virtual application. When I start the application I get an error which I believe is related to this file copy. Has anyone encountered this before? If so how were you able to get the virtual application to run?

    murrayE wrote:
    PogoPossum wrote:
    There are many apps that will copy and store files, even if they can't be read on the iPad (Dropbox, Box.net, Sugarsync) or Goodreader (a document reader).
    Short of jailbreaking, there is no way to install an app besides purchasing it from the App Store and either downloading directly to the iPad or syncing through iTunes. Even if you transferred a "safe" app with one of the above methods, none of them can open and execute an app.
    I do not want an app on the iPad end - rather, on the Mac end!
    And I do not want a reader or some internet-based cloud-storage app (like Dropbox, etc.)
    Rather, I want an app on my Mac under OS X that, when I connect the iPad via the usual cable, will give me Finder-like access to all the files on the iPad - so that I can download whatever ones I want from iPad to Mac.
    That was not clear from your post.
    There is no universal app that will bring content from your iPad to your Mac. Nor is there any Mac app that will give you Finder access to the iPad. The very nature of the iOS operating system is that there is no all encompassing folder structure to access like there is in Windows or Mac OS. Each individual app can have ways to export/share content, some of which are cloud-based and some of which can work with iTunes. Many apps also have the ability to save to a cloud storage app (such as Dropbox), export to Evernote, etc.

  • Copy and paste text that contains 1/2

    '''ALL''' text from any Firefox webpage that contains the character "1/2"… when pasted into a word processing document (Appleworks v. 6.2.9, in this case) inserts MULTIPLE 1/2 spaces.
    All individual text characters are thus separated by two (2) 1/2 spaces and word spacings are three (3) 1/2 spaces.

    The way to do it in previous versions (at least in version 9) was by
    right-clicking the field and selecting Duplicate. This created copies of the
    fields in the same place as the original, but also with the same name, and
    therefore the same value. You will need to rename them if you want them to
    be unique. If you need to do this very often, a script might be a better
    solution.

  • Getting file or folder that contain my jar

    Is there any way to get packeg that contain gif file first get golder in list box and then if we click on it it open image one by one.

    Hi,
    According to the error message, this issue is a typically database related issue.
    1. Make sure that your Content Database in SQL is not full.
    Open SQL management studio and connect to SQL server that have your content DB.
    You can find SQL server name from "manage servers in this farm".
    Right click the content database, click Reports > Standard Reports > Disk Usage to generate a standard report.
    For your reference:
    http://social.technet.microsoft.com/Forums/en-US/178095de-7fba-482c-9be1-94e60b1906e0/sharepoint-2010-error-the-url-item-url-is-invalid-it-may-refer-to-a-nonexistent-file-or
    2. According to KB 894631, this error message will be thrown out when the content database is configured to read-only.
    Go to Central Administration > Manage Content Databases and check if it is the case. Also, recycle the application pool in case the cache was corrupted.
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Problem launching Firefox from Windows with file path that contains space characters in the html file's file name

    We have a software application that programmatically launches the default web browser using the Windows shell execute function ("ShellExecuteA" in the "shell32.dll" library of the Windows API) along with a file path for a saved local html file that is to be displayed. In the case that FireFox is the default browser and the file path for the html file contains any space characters in the html file's file name, Firefox (in this case v7.01) will display an error message "File not Found..." and then will also proceed to open tabs for each of the individual words in the file name, launching as the URL path, each individual word appended to ".com".
    In the following example, the path "C:\KSSecOfState\Forms\Kansas Secretary of State - Filings and Forms.htm" when launched programmatically, resulted in the error message "File not Found...Firefox can't find the file at /C:/KSSecOfState/Forms/Kansas." and opened up browser windows for "http://www.secretary.com/", "http://www.of.com/", "http://www.state.com/", "http://www.and.com/", and attempted to launch "http://forms.htm". If the same file (renamed) is launched using the path string "C:\KSSecOfState\Forms\KansasSecretaryOfState-FilingsAndForms.htm" the file opens up correctly in Firefox. Clearly the presence of spaces in the file name is causing the problem.
    I should also note that either path (with or without space characters) works properly if pasted directly into the Firefox URL path menu bar for a live instance of Firefox. The test path strings I used were:
    C:\KSSecOfState\Forms\KansasSecretaryOfState-FilingsAndForms.htm
    C:\KSSecOfState\Forms\Kansas Secretary of State - Filings and Forms.htm
    Does anyone know anything about this problem or how to work around it (other than the obvious answer of taking the spaces out of the file name which is not possible for this application). It seems the problem is specific to Firefox. IE works properly if launched programmatically with spaces in the file name passed to it. I haven't tested other browsers yet.
    Thanks!

    If starting from ShellExecute works the same as starting from the command line then there are two options:<br>
    Put everything inside double quotes<br>
    '''C:\Program Files\Mozilla Firefox\>'''firefox.exe '''"c:\test\svg test.htm"'''<br>
    Convert to a valid url with file:// protocol and percentage-escaping the space<br>
    '''C:\Program Files\Mozilla Firefox\>'''firefox.exe '''file://c:\test\svg%20test.htm'''<br>

  • Need to copy files from PowerBook G4 with bad blocks

    Yesterday my PowerBook G4 which is about 5 years old had problems starting up. When I ran Disk Utility on it I was notified that there was a SMART problem and I should backup my data immediately. I have a lot of important data that still needs to be backed up, but I am having problems with likely bad blocks.
    I have tried to backup the data two ways both using a firewire connection to my new MacBook Pro. First, I connected the computers via firewire and used the "T" option when booting my old laptop. I tried to copy the files over by clicking on the directories I need to back up and dragging them over to my new laptop. That would work okay, but when it would hit bad files, everything would freeze. My old laptop wouldn't copy over anymore and I couldn't eject the HD from my new laptop.
    Then I tried using Terminal to move files over. I connected the computers in the same way as above and opened Terminal from my new laptop. After going into the directory I wanted to copy from on my old laptop, I typed in the following command,
    find . -exec ditto -v {} ~/Data/M33/SE25/ \;
    since I was told that might skip over the files with bad blocks and continue on. It did copy some files over, but I had the same problem again with everything freezing up.
    I really would like to get as many files transferred as I can without having to do it one-by-one and restarting everything every time my old laptop freezes up. Does anyone have any suggestions how to get around the files with bad blocks or whatever might be happening to freeze up my old laptop?

    I did as suggested in that I used the Terminal option and let everything run for 8 hours. Here are some of the notes I got from the system.log file. I will group together the error messages from when they actually occurred. I started the process at midnight. My apologies for some of the mistakes in the posts in the error messages. Some of the characters are messing up the way it is being viewed in the post.
    +(Message at 00:46:17)+
    disk1s3: I/O error
    com.apple.system.fs] [DevNode /dev/disk1s3] [MountPt /Volumes/Macintosh HD 1] [FSLogMsgID 2052406730] [FSLogMsgOrder Last]
    disk1s3: media is not present
    disk logger: failed to open output file /Volumes/Macintosh HD 1/.fseventsd/0000000000006ca1 (Invalid argument). mount point /Volumes/Macintosh HD 1/.fseventsd
    disk1s3: media is not present
    0 [Level 3] [ReadUID 0] [Facility com.apple.system.fs] [DevNode /dev/disk1s3] [MountPt /Volumes/Macintosh HD 1] [Path /Volumes/Macintosh HD 1/.Spotlight-V100/Store-V1/Stores/4DE053EA-8C82-4ED5-B5F8-74EDE806556F/live.1.i ndexHead] [FSLogMsgID 1668857477] [FSLogMsgOrder Last]
    (/Volumes/Macintosh HD 1/.Spotlight-V100/Store-V1/Stores/4DE053EA-8C82-4ED5-B5F8-74EDE806556F)(Error) IndexCI in openindexfile:open file error: 22, live.2.indexHead
    disk1s3: media is not present
    (/Volumes/Macintosh HD 1/.Spotlight-V100/Store-V1/Stores/4DE053EA-8C82-4ED5-B5F8-74EDE806556F)(Error) IndexCI in ContentIndexUpdateContent:Caught mach exception. Fun Fun Fun.
    (/Volumes/Macintosh HD 1/.Spotlight-V100/Store-V1/Stores/4DE053EA-8C82-4ED5-B5F8-74EDE806556F)(Error) IndexGeneral in bool siwriteBackAndIndex(_SI*, __ContentIndex*, const __CFDictionary*, const __CFDictionary*, db_obj**, const __CFString*, int, bool, bool, bool, __SIUserCtx*, const __CFString*, int32_t, bool):ContentIndexUpdateContent failed
    - (/Volumes/Macintosh HD 1/.Spotlight-V100/Store-V1/Stores/4DE053EA-8C82-4ED5-B5F8-74EDE806556F)(Error) IndexGeneral in void setAttributes(siset_attrctx*, Boolean, long unsigned int):Couldn't update index.
    disk1s3: media is not present
    +(Message at 00:46:19)+
    disk1s3: media is not present
    +(Message at 00:47:51)+
    jnl: disk1s3: replay_journal: from: 364032 to: 624128 (joffset 0x59000)
    +(Message at 00:47:52)+
    jnl: disk1s3: journal replay done
    +(Then from 00:59:30 to 02:45:20 there are occasional messages of the following)+
    disk1s3: I/O error
    IOSCSIPeripheralDeviceType0E::setPowerState(0x6366d00, 1 -> 4) timed out after 100128 ms
    It is now 8:20am and not a lot of data has been copied over and currently I can't tell if anything else is being copied over. The screen on the old laptop is frozen to the way I last saw it before going to sleep.
    Sorry if I posted more than I should have. I am just hoping that someone may be able to better see what is going on from the system log. I am going to check again in a couple of hours to see if any more data has been transferred.
    Thanks again for everyone's help with this.
    Message was edited by: MasterOdin

  • Indesign unable to open a file with name that contains letters "ä" and "ö"

    Hi, I just updated indesign and it seems it lost the ability to open files that have letters "ä" and "ö" in the file name.
    After I renamed the files, they were opened fine.
    Error I get is: "Either the file does not exist, you do not have permission, or the file may be in use by another application"
    Hope this will be fixed, many languages contain those letters.
    Edit: Indesign CS5.5 Version: 7.5.3

    Sorry for the lack of details
    OS: Windows 7 64-bit
    OS Language: Finnish
    Indesign language: English
    Procedure where this problem appears:
    - Drag and drop a file (no matter what extension).
    - Place a file.
    File name in question: EtsiväNuorisotyö_juliste_A3_PRINT.pdf
    Also tried with different file formats: EPS and JPG.
    File works when renamed "ä" to "a" and "ö" to "o".
    Also tried placing and drag and drop after I copied the files from network drive to desktop, same result.

  • Macbook Pro won't boot. Need to copy files off of it.

    Ok, so all I need to do is get some kind of program that I can put on a flash drive, boot off of it, and access the files on my Macbook. I my only other computer is running Windows 7.
    My Mac isn't booting and I just want the files off of it. I've spent hours trying different programs and it's really difficult because most of them require that you have a mac to either convert isos, install to a flash drive, or even decompile.
    I've tried Slax, but I can't figure out how to access the hard disk. I've read lots online about this and it seems to have problem with Mac disks.

    jlexen,
    if your friend no longer has those grey installation DVDs, he can purchase a replacement pair from Apple. One of the discs has its original bootable version of OS X, and the other one has its Apple Hardware Test and its iLife apps. They’re worth having around in case of hardware trouble.
    In the interim, this old post might help with being able to use Slax to get access to those files, though I wonder if “CONFIG_EFI_PARITION” is a misspelling of “CONFIG_EFI_PARTITION” — I haven’t used Slax myself, so it’s certainly possible that the information in that post might no longer apply.

  • Need to copy files from multiple machine to multiple locations on server in daily basis

    My scenario is below:
    1. I have 20 machines and data for backup would be on only in one folder of each machine.
    2. Need to create 20 folders in server and copy the corresponding machine's data to the respective folder daily.
    3. Data copy should be appending (Should not be duplication).
    4. Also need notification if any failure.
    Let me know whether schedule task / script which would be better to server this

    Create a robocopy script to copy data from 20 different folders,
    In Robocopy command you have switches to append the data,
    You can enable logging for this script, If its failes / error - it will update in log file.
    Create a schedule task and run this script according to your timings,
    You an refer Robocopy article for more information :
    http://technet.microsoft.com/en-us/library/cc733145.aspx
    Regards,
    Manjunath Sullad

  • I need to copy files from a new ipod to my itunes

    Hi: i have a apple from my sister with 6,000 song, in my itunes i only have 900, ¿can i copy this 6,000 songs to my itunes sofware?
    Ludy

    An account means an iTunes Store account which is an online service.  Do you mean that, or do you mean a library on a computer?
    iOS devices can only be synced to one iTunes library at a time.  You can sync that iPod to your account but it will wipe everything currently on it.
    iTunes: Syncing media content to iOS devices and iPod - http://support.apple.com/en-us/HT201253 - detailed example: https://discussions.apple.com/message/18860187#18860187
    If you use manual syncing, you can sync items from more than one iTunes library to your iPod. (You can sync iPod touch, iPhone, and iPad with only one iTunes library.) When manually managing content, you can add content from multiple libraries to your iPod or iPad. Even when manually managing music, some content may be available from only one library at time. This includes all content on iPhone and video content on iPod and iPad. http://support.apple.com/kb/PH12113  and http://support.apple.com/kb/HT1202
    I could post another 2 pages of stuff trying to cover every possible scenario.  It would help if you let us know exactly what you want to do.  Are you trying to sync just a few songs (like giving them to a friend which is something iTunes is deliberately set up not to do)?

  • Need help copying file into main configuration folder

    I'm trying to create an extension for Dreamweaver CS3 and I need to place a DLL in the
    C:\Program Files\Adobe\Adobe Dreamweaver CS3\configuration\SourceControl
    folder of the actual application directory rather than a user directory. To do this I have the .mxi file and a javascript startup file. All attempts to place the DLL in the correct folder have resulted in the file being placed in the user directory. Most things work from the user directory but the SourceControl folder is an exception.
    Is there a way I can force a file to be moved to the main SourceControl directory using the .mxi or in javascript? Or is there a way I can register my DLL some way or do something else to make it work? The API and e extension guide have not been useful.

    Open iTunes without your phone connected. Then, as you connect iPhone to your computer, press and hold Command-Option (on a Mac) or Shift-Control (on a PC) until you see iPhone appear in the sidebar. This will prevent automatic synching. Then use the iTunes File Menu -> Transfer purchases from XXX's iPhone.
    If you still gave problems, you can download your applications again. You have to click the "Buy" button and you will get the warning about your credit card being charged, but then you will be offered the chance to dowsnload again for free. Complete instructions are here: http://support.apple.com/kb/HT2519

  • Using VPN to access remote servers; copying files to desktop since "upgrading" to Mavericks no longer works. Can anyone help please?

    Hi everyone,
    I work remotely using Cisco AnyConnect (company provided) to access the company servers. Until "upgrading" to Mavericks I was able to copy files directly to my desktop – from either the servers themselves, from within Bridge, and/or by using the finder - you get the idea. Now I can only copy the files by opening them while still on the server using the native app (in my case mainly InDesign/Photoshop/Illustrator files) and saving them to my desktop that way.
    I'm a designer, I use a lot of files for my specific job every day and these files are often pretty large and doing it this way is time-consuming and really frustrating seeing as I had no such issues with the previous OS. It's not a total nightmare (yet) like some of things some of you are dealing with but I've spent more time restarting, freezing and trying to fix issues than I have actually using my darned machine. I have no choice but to access my work this way; I'm part of a much larger team and we all work on these files off and on during the day so I'm constantly needing to copy files and make sure I'm working on the most current version. Working off the server isn't an option as the speed decreases considerably... making the slightest task cringingly slow. As in 25 minutes for a PDF to be created slow.
    I've been used to my system running smoothly, without issues and fast so this upgrade is turning into a bit of a nightmare. Before I throw in the towel and try and downgrade, does anyone have any ideas? My technical knowledge where these things are concerned isn't beginner but I'm no expert  and I'm stumped. I just don't know where to start and I'm afraid of screwing something else up during the process of trying to fix this (so far) one issue and creating a snowball effect.
    I'm using a 27" iMac (late model 2012 purchased in March 2013) with a second Viewsonic monitor attached. I have a Cintiq 22HD hooked up (but not on all the time) and a Wacom tablet in use. I currently use both CS5 (work hasn't upgraded to CC yet) and Adobe CC (for personal use) on my system.
    Any help/ideas would be greatly appreciated!
    Thanks!
    G.

    Hi,
    By default, the Remote Desktop (RD) Gateway component that encapsulates RDP in HTTPS packets listens on port 443 (for TCP) and port 3391 (for UDP). After you changed the ports in Transport Settings tab, please make sure that you have opened the custom ports
    you selected in Windows Firewall.
    In addition, since you have mentioned the registry key, would you please share the entire path?
    It seems that you need to manually update the gateway in the RDP file with the port. Have you created an .rdp file? You can also refer to the link below:
    Create an .rdp file
    Best regards,
    Susie

  • How can I extract a file name / path from a local path variable in TestStand?

    I have local TestStand string variable, call it 'locals.path', that contains a path to a file including the file name (c:\inputs\input.txt). I need to be able to split up the path (c:\input) and the file name (input.txt) and save them into 2 local variables. What is the best way to do this?
    After reading through some of the other forums, it looks like there are some built-in functions that can accomplish this, but I am unable to find how to use them anywhere on the NI web site. One forum said to use the File I/O>Strip Path.file function. How is this called? Is this function in a DLL?
    I know that there are a number of DLLs that are installed with TestStand into the c:\windows\system32 directory. One forum made note of CVI_OpenFile / CVI_ReadFIle functions in the cvirt.dll that I used to solve a problem that I had in the past. The problem is that I had no idea that that these functions even existed and would have never known unless a similar question had been posted previously. Is there some place that these DLL function interfaces are defined or documented? Is there a function that can extract the file name out of a string for me?
    Thanks,
    Mike

    Hi,
    There sound like functions in say LabVIEW or CVI.
    I have attached a small example which may help. (I have not allowed for any error trapping, if say you dont find the file and cancel)
    Regards
    Ray Farmer
    Message Edited by Ray Farmer on 10-16-2006 10:04 PM
    Regards
    Ray Farmer
    Attachments:
    Sequence File1.seq ‏33 KB

  • Unable to copy file D018 error on pre-install

    Hi,
    We're on NW6.5 SP5 with ZFD4.01 IR6. We tried to rollout a series of
    lights-out pre-install apps to workstations (NT 4.0 SP6b) on Friday and had
    98 out of 262 workstations fail with the following error:
    "Unable to copy file [\\unc path\939.fil] [D018]"
    Workstations do have RF rights to the unc path where the nal files are
    stored (via rights to the container hosting the workstations), and the macro
    Source_Path is right, all the usual troubleshooting 'D018' checks are ok.
    I've checked the AXT file and the Directory Create command comes before the
    File Copy. Weirdly, only some of the workstations failed, and all on the
    same file, which goes to c:\program files\blah\blah\blah and is called
    _alphapm.exe.
    To ensure this ran out ok we temporarily lowered the workstation refresh
    frequency to 1 min, and the nal ran to all machines in about 6 minutes.
    What could be the cause of only some of the machines failing, and all on the
    same file?
    Thanks,
    Steve Law

    Hi,
    I've been troubleshooting this issue and now have Zenworks debug logs, which
    I've managed to capture for both a machine that succesfully installed a
    pre-install nal and one that failed for the same urn of the same nal. I'm
    hoping someone can explain what might be happening. Here's the crucial
    portion of the failed nal from zapplib.log:
    This failed:
    01/12/07 16:40:06.805 -- NWAPPSAGetObjectAttributes took 18 milliseconds for
    OURCO_TREE
    Number of Attributes: 1
    1st attribute Name: App:Program Groups
    DS Object Name: Lamda 5101401 PatchV2 Lightsout test
    #3.Workstations.BHO.UK.SUNLIFE
    Attribute list is Not NULL
    01/12/07 16:40:06.805 -- This is an AOT delivered app
    01/12/07 16:40:06.805 -- Start: ProcessFiles
    01/12/07 16:40:06.835 -- NWAPPSAGetObjectAttributes took 18 milliseconds for
    OURCO_TREE
    Number of Attributes: 1
    1st attribute Name: App:Copy Files
    DS Object Name: Lamda 5101401 PatchV2 Lightsout test
    #3.Workstations.BHO.UK.SUNLIFE
    Attribute list is Not NULL
    FileSettings: CreateRollbackFile szTempPath is C:\TEMP
    FileSettings: CreateRollbackFile szRollbackFileName is
    C:\TEMP\NAL6a42\NAL2.tmp
    01/12/07 16:40:17.0 -- nwappCopyFileEx: Entering.
    01/12/07 16:40:17.0 -- nwappCopyFileEx: sourceFile =
    "\\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\4.fil".
    01/12/07 16:40:17.0 -- nwappCopyFileEx: targetFile =
    "C:\Lamda5\Dlls\CLIENTSTATEMENTS.DLL".
    01/12/07 16:40:17.0 -- nwappCopyFileEx: targetFile drive type = 3
    01/12/07 16:40:17.70 -- nwappCopyFileEx: Calling GetFileVitals or
    GetWebFileVitals
    01/12/07 16:40:17.70 -- Starting GetFileVitals for
    \\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\4.fil
    01/12/07 16:40:33.604 -- GetFileVitals: FindFirstFile Failed to find any
    file matching \\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\4.fil
    01/12/07 16:40:33.604 -- Exiting GetFileVitals 53
    01/12/07 16:40:33.604 -- Exiting nwappCopyFileEx with 53
    01/12/07 16:40:35.536 -- Stop: ProcessFiles
    01/12/07 16:40:35.556 -- NWAPPSAGetObjectAttributes took 19 milliseconds for
    OURCO_TREE
    Number of Attributes: 9
    1st attribute Name: App:Flags
    DS Object Name: Lamda 5101401 PatchV2 Lightsout test
    #3.Workstations.BHO.UK.SUNLIFE
    Attribute list is Not NULL
    The log for the successful workstation is below. As per previous posts I
    checked that the same Windows file and folder rights exist on both the
    workstations, and the existing file that was to be overwritten
    (C:\Lamda5\Dlls\CLIENTSTATEMENTS.DLL) was not set to read-only.
    The "FindFirstFile Failed to find any file matching blah blah blah" message
    suggests that the problem is related more to accessing the source file on
    the server (4.fil) than in writing it to the workstation.
    This was a test to 10 machines, the report shows that, chronologically, 2
    workstations installed it fine and then the ensuing 8 failed. I can't think
    of anything that would lock the 4.fil file - as these are reads they
    shouldn't actually lock the file anyway. We run McAfee Netshield 4.63, but
    it's set to scan inbound files, not outbound reads.
    Any suggestions as to why it was able to read the file for one workstation
    and not on another? I have had greater success when I've activated "spread
    from start time" over a 15 minute period, but still had one failure out of
    ten. A tool that logged all file locks would be useful but I can't find
    anything.
    Thanks,
    Steve Law
    Zapplib.log of succesful workstation:
    01/12/07 16:40:01.232 -- NWAPPCheckSchedule: PREINSTALL: Found app that has
    preinstall set Lamda 5101401 PatchV2 lightsout test
    #2.Workstations.BHO.UK.SUNLIFE
    01/12/07 16:40:01.232 -- NWAPPCheckSchedule: PREINSTALL: Found app that has
    preinstall set Lamda 5101401 PatchV2 Lightsout test
    #3.Workstations.BHO.UK.SUNLIFE
    01/12/07 16:40:01.242 -- NWAPPCheckSchedule: PREINSTALL: App has not been
    pre installed Lamda 5101401 PatchV2 Lightsout test
    #3.Workstations.BHO.UK.SUNLIFE
    01/12/07 16:40:01.242 -- NWAPPCheckSchedule: PREINSTALL: App has not been
    pre installed and it has a schedule Lamda 5101401 PatchV2 Lightsout test
    #3.Workstations.BHO.UK.SUNLIFE
    01/12/07 16:40:01.242 -- NWAPPCheckSchedule: PREINSTALL: App has not been
    pre installed has schedule trying it now Lamda 5101401 PatchV2 Lightsout
    test #3.Workstations.BHO.UK.SUNLIFE
    01/12/07 16:40:01.242 -- FORCERUN: Adding Item to force run list
    01/12/07 16:40:01.242 -- Lamda 5101401 PatchV2 Lightsout test
    #3.Workstations.BHO.UK.SUNLIFE
    01/12/07 16:40:01.242 -- NWAPPCheckSchedule FORCERUN: we're in ws space and
    the APP_USER_FORCE_RUN_WS_ASSOC flag is unset
    01/12/07 16:40:01.272 -- STAGG: Found the GUID/version for WMI Agent
    Downloader.Maintenance Fixes.BHO.UK.SUNLIFE
    01/12/07 16:40:01.272 -- NWAPPCheckSchedule FORCERUN: we're in ws space and
    the APP_USER_FORCE_RUN_WS_ASSOC flag is unset
    01/12/07 16:40:01.272 -- STAGG: t has NOT been run during this session, run
    it. app: Lamda Point at Production Server Auto
    #1009.Lamdatest.AutoLoad.GENERAL.NAL.BHO.UK.SUNLIF E
    01/12/07 16:40:01.272 -- NWAPPCheckSchedule FORCERUN: we're in ws space and
    the APP_USER_FORCE_RUN_WS_ASSOC flag is unset
    01/12/07 16:40:01.282 -- NWAPPCheckSchedule FORCERUN: we're in ws space and
    the APP_USER_FORCE_RUN_WS_ASSOC flag is unset
    01/12/07 16:40:01.282 -- STAGG: t has NOT been run during this session, run
    it. app: Lamda idate reg key report.Maintenance Fixes.BHO.UK.SUNLIFE
    01/12/07 16:40:01.282 -- NWAPPCheckSchedule FORCERUN: we're in ws space and
    the APP_USER_FORCE_RUN_WS_ASSOC flag is unset
    01/12/07 16:40:01.312 -- NWAPPCheckSchedule FORCERUN: we're in ws space and
    the APP_USER_FORCE_RUN_WS_ASSOC flag is unset
    01/12/07 16:40:01.312 -- STAGG: t has NOT been run during this session, run
    it. app: Lamda idate reg key report0.Maintenance Fixes.BHO.UK.SUNLIFE
    01/12/07 16:40:01.312 -- NWAPPCheckSchedule FORCERUN: we're in ws space and
    the APP_USER_FORCE_RUN_WS_ASSOC flag is unset
    01/12/07 16:40:01.342 -- STAGG: Found the GUID/version for Viruscan8 epo
    fix.Maintenance Fixes.BHO.UK.SUNLIFE
    01/12/07 16:40:01.342 -- NWAPPCheckSchedule FORCERUN: we're in ws space and
    the APP_USER_FORCE_RUN_WS_ASSOC flag is unset
    01/12/07 16:40:01.372 -- NWAPPCheckForScheduledApps::Pre-install::Lamda
    5101401 PatchV2 Lightsout test #3.Workstations.BHO.UK.SUNLIFE tree
    OURCO_TREE
    01/12/07 16:40:01.372 -- TreeName: OURCO_TREE
    01/12/07 16:40:01.372 -- UserName: LAMTEST02
    00:D0:B7:14:27:61.Workstations.BHO.UK.SUNLIFE
    01/12/07 16:40:01.372 -- ConnType: 2
    01/12/07 16:40:01.372 -- Entering RunApplication: Lamda 5101401 PatchV2
    Lightsout test #3.Workstations.BHO.UK.SUNLIFE
    01/12/07 16:40:01.392 -- RegWriteGUIDEntry: No Version to write
    01/12/07 16:40:01.392 -- pa.hContext structure
    01/12/07 16:40:01.392 -- TreeName: OURCO_TREE
    01/12/07 16:40:01.392 -- UserName: LAMTEST02
    00:D0:B7:14:27:61.Workstations.BHO.UK.SUNLIFE
    01/12/07 16:40:01.392 -- ConnType: 2
    01/12/07 16:40:01.403 -- NWAPPNetGetObjectAttributes took 4 milliseconds for
    OURCO_TREE
    01/12/07 16:40:01.403 -- appLaunchApplicationWrapper::Enter
    01/12/07 16:40:01.403 -- AUTHENTICATION DLL: Start
    01/12/07 16:40:01.403 -- AUTHENTICATION DLL: szThirdPartyDLL =
    01/12/07 16:40:01.403 -- AUTHENTICATION DLL: End
    01/12/07 16:40:01.413 -- NWAPPNetGetObjectAttributes took 4 milliseconds for
    OURCO_TREE
    01/12/07 16:40:01.473 -- NWAPPSAGetObjectAttributes took 25 milliseconds for
    OURCO_TREE
    01/12/07 16:40:01.503 -- NWAPPSAGetObjectAttributes took 27 milliseconds for
    OURCO_TREE
    01/12/07 16:40:01.513 -- NWAPPNetGetObjectAttributes took 4 milliseconds for
    OURCO_TREE
    01/12/07 16:40:01.573 -- NWAPPSAGetObjectAttributes took 25 milliseconds for
    OURCO_TREE
    01/12/07 16:40:01.583 -- Calling NWAPPSACacheApplications for:
    01/12/07 16:40:01.583 -- Calling NWAPPSACacheApplications for:
    01/12/07 16:40:01.583 -- nwappsacacheapp: Creating new filstore
    01/12/07 16:40:01.583 -- nwappsacacheapp: Creating new appcache
    01/12/07 16:40:01.583 -- nwappsacacheapp: Calling importfrom ds
    01/12/07 16:40:01.663 -- NWAPPNetGetObjectAttributes took 51 milliseconds
    for OURCO_TREE
    01/12/07 16:40:02.184 -- Import from DS was successful
    01/12/07 16:40:02.194 -- NWAPPNetGetObjectAttributes took 4 milliseconds for
    OURCO_TREE
    01/12/07 16:40:02.204 -- NWAPPNetGetObjectAttributes took 4 milliseconds for
    OURCO_TREE
    01/12/07 16:40:02.204 -- NWAPPNetGetObjectAttributes took 4 milliseconds for
    OURCO_TREE
    01/12/07 16:40:02.204 -- Calling NWAPPSAAddFolderToApp for:
    01/12/07 16:40:02.204 -- NWAPPSetRegValAsService: Skip Service since service
    is dead or I'm the WS: CreateFile: 183
    01/12/07 16:40:02.204 -- NWAPPSetRegValAsService: Skip Service since service
    is dead or I'm the WS: CreateFile: 183
    01/12/07 16:40:02.214 -- NWAPPNetGetObjectAttributes took 3 milliseconds for
    OURCO_TREE
    01/12/07 16:40:02.224 -- NWAPPNetGetObjectAttributes took 7 milliseconds for
    OURCO_TREE
    01/12/07 16:40:02.254 -- NWAPPSAGetObjectAttributes took 28 milliseconds for
    OURCO_TREE
    01/12/07 16:40:02.734 -- Exiting NWAPPSACacheApplication
    01/12/07 16:40:02.774 -- NWAPPSAGetObjectAttributes took 28 milliseconds for
    OURCO_TREE
    01/12/07 16:40:02.784 -- LaunchApp: Lamda 5101401 PatchV2 Lightsout test
    #3.Workstations.BHO.UK.SUNLIFE
    01/12/07 16:40:02.784 -- Leaving NALContext Constructor
    01/12/07 16:40:02.825 -- NWAPPSAGetObjectAttributes took 27 milliseconds for
    OURCO_TREE
    01/12/07 16:40:02.835 -- RunThirdPartyScript::Enter
    01/12/07 16:40:02.865 -- NWAPPSAGetObjectAttributes took 26 milliseconds for
    OURCO_TREE
    01/12/07 16:40:02.895 -- NWAPPSAGetObjectAttributes took 27 milliseconds for
    OURCO_TREE
    01/12/07 16:40:02.925 -- NWAPPSAGetObjectAttributes took 27 milliseconds for
    OURCO_TREE
    01/12/07 16:40:02.925 -- RunThirdParyScript::Exit
    01/12/07 16:40:02.925 -- NWAPPDistributeAppPA: Entering. App = Lamda
    5101401 PatchV2 Lightsout test #3.Workstations.BHO.UK.SUNLIFE
    01/12/07 16:40:02.955 -- NWAPPSAGetObjectAttributes took 27 milliseconds for
    OURCO_TREE
    01/12/07 16:40:02.955 -- This is an AOT distributed application
    01/12/07 16:40:02.965 -- NWAPPNetGetObjectAttributes took 2 milliseconds for
    OURCO_TREE
    01/12/07 16:40:02.965 -- Done checking if we should distribute
    01/12/07 16:40:02.965 -- Should we prompt before distributing?
    01/12/07 16:40:02.965 -- Should we prompt for macros?
    01/12/07 16:40:02.995 -- NWAPPSAGetObjectAttributes took 30 milliseconds for
    OURCO_TREE
    01/12/07 16:40:02.995 -- NWAPPPreDistributionProcess Pre Distribution Script
    processing.
    01/12/07 16:40:03.5 -- RunThirdPartyScript::Enter
    01/12/07 16:40:03.35 -- NWAPPSAGetObjectAttributes took 27 milliseconds for
    OURCO_TREE
    01/12/07 16:40:03.65 -- NWAPPSAGetObjectAttributes took 27 milliseconds for
    OURCO_TREE
    01/12/07 16:40:03.65 -- RunThirdParyScript::Exit
    01/12/07 16:40:03.95 -- NWAPPSAGetObjectAttributes took 27 milliseconds for
    OURCO_TREE
    01/12/07 16:40:03.125 -- NWAPPSAGetObjectAttributes took 27 milliseconds for
    OURCO_TREE
    01/12/07 16:40:03.145 -- NWAPPSAGetObjectAttributes took 27 milliseconds for
    OURCO_TREE
    01/12/07 16:40:03.175 -- NWAPPSAGetObjectAttributes took 27 milliseconds for
    OURCO_TREE
    01/12/07 16:40:03.205 -- NWAPPSAGetObjectAttributes took 27 milliseconds for
    OURCO_TREE
    01/12/07 16:40:03.205 -- This is an AOT delivered app
    01/12/07 16:40:03.205 -- Start: ProcessFiles
    01/12/07 16:40:03.255 -- NWAPPSAGetObjectAttributes took 27 milliseconds for
    OURCO_TREE
    01/12/07 16:40:03.516 -- nwappCopyFileEx: Entering.
    01/12/07 16:40:03.516 -- nwappCopyFileEx: sourceFile =
    "\\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\4.fil".
    01/12/07 16:40:03.516 -- nwappCopyFileEx: targetFile =
    "C:\Lamda5\Dlls\CLIENTSTATEMENTS.DLL".
    01/12/07 16:40:03.516 -- nwappCopyFileEx: targetFile drive type = 3
    01/12/07 16:40:03.576 -- nwappCopyFileEx: Calling GetFileVitals or
    GetWebFileVitals
    01/12/07 16:40:03.576 -- Starting GetFileVitals for
    \\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\4.fil
    01/12/07 16:40:05.849 -- GetFileVitals: FindFirstFile found a file that
    matched: \\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\4.fil
    01/12/07 16:40:05.849 -- Exiting GetFileVitals 0
    01/12/07 16:40:05.849 -- Starting GetFileVitals for
    C:\Lamda5\Dlls\CLIENTSTATEMENTS.DLL
    01/12/07 16:40:05.849 -- GetFileVitals: FindFirstFile found a file that
    matched: C:\Lamda5\Dlls\CLIENTSTATEMENTS.DLL
    01/12/07 16:40:05.849 -- Exiting GetFileVitals 0
    01/12/07 16:40:06.239 -- ZLIBCopyFile::BEGIN copying
    \\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\4.fil to
    C:\Lamda5\Dlls\CLIENTSTATEMENTS.DLL
    01/12/07 16:40:06.540 -- ZLIBCopyFile::END (returning 0)
    01/12/07 16:40:06.550 -- Exiting nwappCopyFileEx with 0
    01/12/07 16:40:06.550 -- nwappCopyFileEx: Entering.
    01/12/07 16:40:06.550 -- nwappCopyFileEx: sourceFile =
    "\\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\5.fil".
    01/12/07 16:40:06.550 -- nwappCopyFileEx: targetFile =
    "C:\Lamda5\Dlls\CLIENTSTATEMENTS_5101401Z03.OL D".
    01/12/07 16:40:06.550 -- nwappCopyFileEx: targetFile drive type = 3
    01/12/07 16:40:06.550 -- nwappCopyFileEx: Calling GetFileVitals or
    GetWebFileVitals
    01/12/07 16:40:06.550 -- Starting GetFileVitals for
    \\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\5.fil
    01/12/07 16:40:06.550 -- GetFileVitals: FindFirstFile found a file that
    matched: \\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\5.fil
    01/12/07 16:40:06.560 -- Exiting GetFileVitals 0
    01/12/07 16:40:06.560 -- Starting GetFileVitals for
    C:\Lamda5\Dlls\CLIENTSTATEMENTS_5101401Z03.OLD
    01/12/07 16:40:06.560 -- GetFileVitals: FindFirstFile found a file that
    matched: C:\Lamda5\Dlls\CLIENTSTATEMENTS_5101401Z03.OLD
    01/12/07 16:40:06.560 -- Exiting GetFileVitals 0
    01/12/07 16:40:06.920 -- ZLIBCopyFile::BEGIN copying
    \\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\5.fil to
    C:\Lamda5\Dlls\CLIENTSTATEMENTS_5101401Z03.OLD
    01/12/07 16:40:07.371 -- ZLIBCopyFile::END (returning 0)
    01/12/07 16:40:07.371 -- Exiting nwappCopyFileEx with 0
    01/12/07 16:40:07.371 -- nwappCopyFileEx: Entering.
    01/12/07 16:40:07.371 -- nwappCopyFileEx: sourceFile =
    "\\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\6.fil".
    01/12/07 16:40:07.371 -- nwappCopyFileEx: targetFile =
    "C:\Lamda5\Dlls\CREATEFPDLETTER.DLL".
    01/12/07 16:40:07.371 -- nwappCopyFileEx: targetFile drive type = 3
    01/12/07 16:40:07.401 -- nwappCopyFileEx: Calling GetFileVitals or
    GetWebFileVitals
    01/12/07 16:40:07.401 -- Starting GetFileVitals for
    \\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\6.fil
    01/12/07 16:40:07.401 -- GetFileVitals: FindFirstFile found a file that
    matched: \\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\6.fil
    01/12/07 16:40:07.401 -- Exiting GetFileVitals 0
    01/12/07 16:40:07.401 -- Starting GetFileVitals for
    C:\Lamda5\Dlls\CREATEFPDLETTER.DLL
    01/12/07 16:40:07.411 -- GetFileVitals: FindFirstFile found a file that
    matched: C:\Lamda5\Dlls\CREATEFPDLETTER.DLL
    01/12/07 16:40:07.411 -- Exiting GetFileVitals 0
    01/12/07 16:40:07.651 -- ZLIBCopyFile::BEGIN copying
    \\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\6.fil to
    C:\Lamda5\Dlls\CREATEFPDLETTER.DLL
    01/12/07 16:40:07.782 -- ZLIBCopyFile::END (returning 0)
    01/12/07 16:40:07.782 -- Exiting nwappCopyFileEx with 0
    01/12/07 16:40:07.792 -- nwappCopyFileEx: Entering.
    01/12/07 16:40:07.792 -- nwappCopyFileEx: sourceFile =
    "\\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\7.fil".
    01/12/07 16:40:07.792 -- nwappCopyFileEx: targetFile =
    "C:\Lamda5\Dlls\CREATEFPDLETTER_5101401Z03.OLD ".
    01/12/07 16:40:07.792 -- nwappCopyFileEx: targetFile drive type = 3
    01/12/07 16:40:07.792 -- nwappCopyFileEx: Calling GetFileVitals or
    GetWebFileVitals
    01/12/07 16:40:07.792 -- Starting GetFileVitals for
    \\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\7.fil
    01/12/07 16:40:07.792 -- GetFileVitals: FindFirstFile found a file that
    matched: \\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\7.fil
    01/12/07 16:40:07.792 -- Exiting GetFileVitals 0
    01/12/07 16:40:07.792 -- Starting GetFileVitals for
    C:\Lamda5\Dlls\CREATEFPDLETTER_5101401Z03.OLD
    01/12/07 16:40:07.802 -- GetFileVitals: FindFirstFile found a file that
    matched: C:\Lamda5\Dlls\CREATEFPDLETTER_5101401Z03.OLD
    01/12/07 16:40:07.802 -- Exiting GetFileVitals 0
    01/12/07 16:40:08.383 -- ZLIBCopyFile::BEGIN copying
    \\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\7.fil to
    C:\Lamda5\Dlls\CREATEFPDLETTER_5101401Z03.OLD
    01/12/07 16:40:08.513 -- ZLIBCopyFile::END (returning 0)
    01/12/07 16:40:08.523 -- Exiting nwappCopyFileEx with 0
    01/12/07 16:40:08.523 -- nwappCopyFileEx: Entering.
    01/12/07 16:40:08.523 -- nwappCopyFileEx: sourceFile =
    "\\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\8.fil".
    01/12/07 16:40:08.523 -- nwappCopyFileEx: targetFile =
    "C:\Lamda5\Dlls\EXITSREQSETTPAY.DLL".
    01/12/07 16:40:08.523 -- nwappCopyFileEx: targetFile drive type = 3
    01/12/07 16:40:08.553 -- nwappCopyFileEx: Calling GetFileVitals or
    GetWebFileVitals
    01/12/07 16:40:08.553 -- Starting GetFileVitals for
    \\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\8.fil
    01/12/07 16:40:08.553 -- GetFileVitals: FindFirstFile found a file that
    matched: \\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\8.fil
    01/12/07 16:40:08.553 -- Exiting GetFileVitals 0
    01/12/07 16:40:08.553 -- Starting GetFileVitals for
    C:\Lamda5\Dlls\EXITSREQSETTPAY.DLL
    01/12/07 16:40:08.553 -- GetFileVitals: FindFirstFile found a file that
    matched: C:\Lamda5\Dlls\EXITSREQSETTPAY.DLL
    01/12/07 16:40:08.553 -- Exiting GetFileVitals 0
    01/12/07 16:40:08.753 -- ZLIBCopyFile::BEGIN copying
    \\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\8.fil to
    C:\Lamda5\Dlls\EXITSREQSETTPAY.DLL
    01/12/07 16:40:08.873 -- ZLIBCopyFile::END (returning 0)
    01/12/07 16:40:08.873 -- Exiting nwappCopyFileEx with 0
    01/12/07 16:40:08.873 -- nwappCopyFileEx: Entering.
    01/12/07 16:40:08.873 -- nwappCopyFileEx: sourceFile =
    "\\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\9.fil".
    01/12/07 16:40:08.873 -- nwappCopyFileEx: targetFile =
    "C:\Lamda5\Dlls\EXITSREQSETTPAY_5101401Z02.OLD ".
    01/12/07 16:40:08.873 -- nwappCopyFileEx: targetFile drive type = 3
    01/12/07 16:40:08.873 -- nwappCopyFileEx: Calling GetFileVitals or
    GetWebFileVitals
    01/12/07 16:40:08.873 -- Starting GetFileVitals for
    \\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\9.fil
    01/12/07 16:40:08.883 -- GetFileVitals: FindFirstFile found a file that
    matched: \\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\9.fil
    01/12/07 16:40:08.883 -- Exiting GetFileVitals 0
    01/12/07 16:40:08.883 -- Starting GetFileVitals for
    C:\Lamda5\Dlls\EXITSREQSETTPAY_5101401Z02.OLD
    01/12/07 16:40:08.883 -- GetFileVitals: FindFirstFile found a file that
    matched: C:\Lamda5\Dlls\EXITSREQSETTPAY_5101401Z02.OLD
    01/12/07 16:40:08.883 -- Exiting GetFileVitals 0
    01/12/07 16:40:09.264 -- ZLIBCopyFile::BEGIN copying
    \\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\9.fil to
    C:\Lamda5\Dlls\EXITSREQSETTPAY_5101401Z02.OLD
    01/12/07 16:40:09.424 -- ZLIBCopyFile::END (returning 0)
    01/12/07 16:40:09.424 -- Exiting nwappCopyFileEx with 0
    01/12/07 16:40:09.424 -- nwappCopyFileEx: Entering.
    01/12/07 16:40:09.424 -- nwappCopyFileEx: sourceFile =
    "\\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\5101401PatchV2.cmd".
    01/12/07 16:40:09.424 -- nwappCopyFileEx: targetFile =
    "c:\lamda5\5101401PatchV2.cmd".
    01/12/07 16:40:09.424 -- nwappCopyFileEx: targetFile drive type = 3
    01/12/07 16:40:09.424 -- nwappCopyFileEx: Calling GetFileVitals or
    GetWebFileVitals
    01/12/07 16:40:09.424 -- Starting GetFileVitals for
    \\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\5101401PatchV2.cmd
    01/12/07 16:40:09.434 -- GetFileVitals: FindFirstFile found a file that
    matched: \\Server1\APPS\Public\Template\Lamda 5101401
    PatchV2-3\5101401PatchV2.cmd
    01/12/07 16:40:09.434 -- Exiting GetFileVitals 0
    01/12/07 16:40:09.434 -- Starting GetFileVitals for
    c:\lamda5\5101401PatchV2.cmd
    01/12/07 16:40:09.434 -- GetFileVitals: FindFirstFile found a file that
    matched: c:\lamda5\5101401PatchV2.cmd
    01/12/07 16:40:09.434 -- Exiting GetFileVitals 0
    01/12/07 16:40:09.504 -- ZLIBCopyFile::BEGIN copying
    \\Server1\APPS\Public\Template\Lamda 5101401 PatchV2-3\5101401PatchV2.cmd to
    c:\lamda5\5101401PatchV2.cmd
    01/12/07 16:40:09.574 -- ZLIBCopyFile::END (returning 0)
    01/12/07 16:40:09.574 -- Exiting nwappCopyFileEx with 0
    01/12/07 16:40:09.584 -- Stop: ProcessFiles
    01/12/07 16:40:09.584 -- Start: ProcessTextFiles
    01/12/07 16:40:09.614 -- NWAPPSAGetObjectAttributes took 27 milliseconds for
    OURCO_TREE
    01/12/07 16:40:09.624 -- Start: ProcessRegSettings
    01/12/07 16:40:09.664 -- NWAPPSAGetObjectAttributes took 27 milliseconds for
    OURCO_TREE
    01/12/07 16:40:10.305 -- Start: ProcessINISettings
    01/12/07 16:40:10.335 -- NWAPPSAGetObjectAttributes took 27 milliseconds for
    OURCO_TREE
    01/12/07 16:40:10.335 -- Start: ProcessGroupLnkSettings
    01/12/07 16:40:10.375 -- NWAPPSAGetObjectAttributes took 43 milliseconds for
    OURCO_TREE
    01/12/07 16:40:10.385 -- RunThirdPartyScript::Enter
    01/12/07 16:40:10.415 -- NWAPPSAGetObjectAttributes took 26 milliseconds for
    OURCO_TREE
    01/12/07 16:40:10.446 -- NWAPPSAGetObjectAttributes took 27 milliseconds for
    OURCO_TREE
    01/12/07 16:40:10.446 -- RunThirdParyScript::Exit
    01/12/07 16:40:10.546 -- NWAPPSAGetObjectAttributes took 27 milliseconds for
    OURCO_TREE
    01/12/07 16:40:10.566 -- NWAPPNetGetObjectAttributes took 4 milliseconds for
    OURCO_TREE
    01/12/07 16:40:10.576 -- NWAPPNetGetObjectAttributes took 3 milliseconds for
    OURCO_TREE
    01/12/07 16:40:10.586 -- NWAPPNetGetObjectAttributes took 4 milliseconds for
    OURCO_TREE
    01/12/07 16:40:10.586 -- NWAPPNetGetObjectAttributes took 3 milliseconds for
    OURCO_TREE
    01/12/07 16:40:10.596 -- NWAPPNetGetObjectAttributes took 3 milliseconds for
    OURCO_TREE
    01/12/07 16:40:10.606 -- NWAPPNetGetObjectAttributes took 4 milliseconds for
    OURCO_TREE
    01/12/07 16:40:10.606 -- NWAPPNetGetObjectAttributes took 2 milliseconds for
    OURCO_TREE
    01/12/07 16:40:10.616 -- NWAPPNetGetObjectAttributes took 3 milliseconds for
    OURCO_TREE
    01/12/07 16:40:10.626 -- NWAPPNetGetObjectAttributes took 2 milliseconds for
    OURCO_TREE
    01/12/07 16:40:10.626 -- NWAPPNetGetObjectAttributes took 5 milliseconds for
    OURCO_TREE
    01/12/07 16:40:10.636 -- NWAPPNetGetObjectAttributes took 3 milliseconds for
    OURCO_TREE
    01/12/07 16:40:10.646 -- NWAPPNetGetObjectAttributes took 3 milliseconds for
    OURCO_TREE
    01/12/07 16:40:10.656 -- NWAPPNetGetObjectAttributes took 4 milliseconds for
    OURCO_TREE
    01/12/07 16:40:10.876 -- NWAPPNetGetObjectAttributes took 5 milliseconds for
    OURCO_TREE
    01/12/07 16:40:13.79 -- Write Machine GUID Entry
    01/12/07 16:40:13.79 -- RegWriteGUIDEntry: No Version to write
    01/12/07 16:40:13.79 -- Close stream list
    01/12/07 16:40:13.79 -- Deleted szTreeName
    01/12/07 16:40:13.79 -- After Calling NWAPPDistributeAppPA
    01/12/07 16:40:13.79 -- Calling GetRegPromptedMacros()
    01/12/07 16:40:13.79 -- Calling DistrbiuteAppAlwaysEx
    01/12/07 16:40:13.89 -- NWAPPDistributeAppAlwaysPA: Entering. App = Lamda
    5101401 PatchV2 Lightsout test #3.Workstations.BHO.UK.SUNLIFE
    01/12/07 16:40:13.129 -- NWAPPSAGetObjectAttributes took 44 milliseconds for
    OURCO_TREE
    01/12/07 16:40:13.159 -- NWAPPSAGetObjectAttributes took 25 milliseconds for
    OURCO_TREE
    01/12/07 16:40:13.189 -- NWAPPSAGetObjectAttributes took 26 milliseconds for
    OURCO_TREE
    01/12/07 16:40:13.219 -- NWAPPSAGetObjectAttributes took 26 milliseconds for
    OURCO_TREE
    01/12/07 16:40:13.240 -- NWAPPSAGetObjectAttributes took 25 milliseconds for
    OURCO_TREE
    01/12/07 16:40:13.250 -- No content found in any Dist Always streams -
    exiting
    01/12/07 16:40:13.250 -- RegWriteGUIDEntry: No Version to write
    01/12/07 16:40:13.280 -- NWAPPSAGetObjectAttributes took 26 milliseconds for
    OURCO_TREE
    01/12/07 16:40:13.280 -- RunThirdPartyScript::Enter
    01/12/07 16:40:13.310 -- NWAPPSAGetObjectAttributes took 26 milliseconds for
    OURCO_TREE
    01/12/07 16:40:13.340 -- NWAPPSAGetObjectAttributes took 27 milliseconds for
    OURCO_TREE
    01/12/07 16:40:13.380 -- NWAPPSAGetObjectAttributes took 26 milliseconds for
    OURCO_TREE
    01/12/07 16:40:13.380 -- RunThirdParyScript::Exit
    01/12/07 16:40:13.380 -- appLaunchApplicationWrapper::Exit 0

Maybe you are looking for