+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 28
Learning Network Manager Thread, Can you "deploy" a folder? in Technical; Trying to install new version of Wordshark. It currently just runs from the server, but im all for giving the ...
  1. #1

    Little-Miss's Avatar
    Join Date
    Oct 2007
    Location
    London
    Posts
    5,516
    Thank Post
    2,389
    Thanked 765 Times in 463 Posts
    Blog Entries
    2
    Rep Power
    546

    Can you "deploy" a folder?

    Trying to install new version of Wordshark. It currently just runs from the server, but im all for giving the pc's the workload. According to the intructions i need to deploy two folders to the client whilst the shared data stays on the server.

    How and also where is the best place to put these on the client?

  2. #2


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,730
    Thank Post
    229
    Thanked 873 Times in 750 Posts
    Rep Power
    299
    simplest if its more that 2 or 3 files then easiest way is a startup script

    copy folders\files to \\server\share\wordshark\ (replace with your real location)

    if exist "c:\program files\wordshark\folder1" goto end
    xcopy "\\server\share\wordshark\" c:\program files\wordshark\" /c/e/h/y/s

    :end

  3. Thanks to sted from:

    Little-Miss (26th September 2012)

  4. #3

    Little-Miss's Avatar
    Join Date
    Oct 2007
    Location
    London
    Posts
    5,516
    Thank Post
    2,389
    Thanked 765 Times in 463 Posts
    Blog Entries
    2
    Rep Power
    546
    Ok, can i do the if exist twice?

    '\\Curricsvr1\netlogon\Tools'
    CMD.EXE was started with the above path as the current directory.
    UNC paths are not supported. Defaulting to Windows directory.

    C:\Windows>if exist "c:\program files\wordshark\wordshark-public" goto end

    C:\Windows>if exist "c:\program files\wordshark\wordshark-programs" goto end

    C:\Windows>xcopy "\\curricsvr1\apps\wordshark 4.8\" c:\program files\wordshark\" /c/e/h/y/s
    Parse Error
    This is me just testing to see if it works..

    Not quite sure what its issue is with the UNC path? Go on, what daft mistake have i made?

  5. #4

    Join Date
    Apr 2007
    Location
    Birmingham
    Posts
    143
    Thank Post
    6
    Thanked 45 Times in 39 Posts
    Rep Power
    23
    I see the UNC message as mostly a warning more than an error More details: Cmd.exe does not support UNC names as the current directory.

    I've never had a problem, only issues i can see is if you are not explicitly supplying full path names and are trying to relate them to the "current unc path".

    You do seem to be missing an " though on the copy line. There should be one before the c:\

  6. Thanks to andy_b from:

    Little-Miss (26th September 2012)

  7. #5

    Little-Miss's Avatar
    Join Date
    Oct 2007
    Location
    London
    Posts
    5,516
    Thank Post
    2,389
    Thanked 765 Times in 463 Posts
    Blog Entries
    2
    Rep Power
    546
    oooh, i'll blame the fact that im drugged up to the eyeballs trying to nip a migraine in the bud!

  8. #6


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,730
    Thank Post
    229
    Thanked 873 Times in 750 Posts
    Rep Power
    299
    Quote Originally Posted by Little-Miss View Post
    Ok, can i do the if exist twice?



    This is me just testing to see if it works..

    Not quite sure what its issue is with the UNC path? Go on, what daft mistake have i made?
    youre missing a "

    xcopy "\\curricsvr1\apps\wordshark 4.8\" c:\program files\wordshark\" /c/e/h/y/s

    should be

    xcopy "\\curricsvr1\apps\wordshark 4.8\" "c:\program files\wordshark\" /c/e/h/y/s

  9. #7

    Little-Miss's Avatar
    Join Date
    Oct 2007
    Location
    London
    Posts
    5,516
    Thank Post
    2,389
    Thanked 765 Times in 463 Posts
    Blog Entries
    2
    Rep Power
    546
    Got it right 4th time! lolz

    Now to get it to run on startup....

  10. #8


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,730
    Thank Post
    229
    Thanked 873 Times in 750 Posts
    Rep Power
    299
    Quote Originally Posted by Little-Miss View Post
    Got it right 4th time! lolz

    Now to get it to run on startup....
    and thats why i gave up programming spend ages doing some code only to be foiled by a single letter which takes longer to find than it did to write the code lol

  11. #9


    Join Date
    Sep 2008
    Posts
    1,795
    Thank Post
    331
    Thanked 261 Times in 213 Posts
    Rep Power
    120
    Alternatibe to scripting could you have done this through GPP under the computer startup>Windows Settings> Files/Folders. Use Item level targetting to check if the folder exists should do the same thing without having to check syntax.

  12. #10


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,730
    Thank Post
    229
    Thanked 873 Times in 750 Posts
    Rep Power
    299
    Quote Originally Posted by penfold View Post
    Alternatibe to scripting could you have done this through GPP under the computer startup>Windows Settings> Files/Folders. Use Item level targetting to check if the folder exists should do the same thing without having to check syntax.
    true but you have to specify each individual item in a folder so say a folder has 50 files in it its a pain via gpp

  13. #11

    Little-Miss's Avatar
    Join Date
    Oct 2007
    Location
    London
    Posts
    5,516
    Thank Post
    2,389
    Thanked 765 Times in 463 Posts
    Blog Entries
    2
    Rep Power
    546
    Thank you @penfold because i was originally trying to find that! Great to know anyway!

  14. #12

    sparkeh's Avatar
    Join Date
    May 2007
    Posts
    6,884
    Thank Post
    1,324
    Thanked 1,700 Times in 1,139 Posts
    Blog Entries
    22
    Rep Power
    514
    Quote Originally Posted by sted View Post
    true but you have to specify each individual item in a folder so say a folder has 50 files in it its a pain via gpp
    Not true, use the Files Extension to copy the files in one go:
    Group Policy includes the Files preference extension. For computers or users, this extension allows you to:
    • Copy a file (or multiple files in one folder) to a new location and then configure the attributes of those files. New subfolders are created as necessary.

  15. #13


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,730
    Thank Post
    229
    Thanked 873 Times in 750 Posts
    Rep Power
    299
    Quote Originally Posted by sparkeh View Post
    Not true, use the Files Extension to copy the files in one go:
    where im on an 08r2 box and cant see any way of doing multi files

  16. #14

    sparkeh's Avatar
    Join Date
    May 2007
    Posts
    6,884
    Thank Post
    1,324
    Thanked 1,700 Times in 1,139 Posts
    Blog Entries
    22
    Rep Power
    514
    Quote Originally Posted by sted View Post
    where im on an 08r2 box and cant see any way of doing multi files
    Looking at r2 here as well, directly above the 'Folders' option in GPPs is 'Files' - you specify a source and destination and it copies.

  17. #15


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,730
    Thank Post
    229
    Thanked 873 Times in 750 Posts
    Rep Power
    299
    Quote Originally Posted by sparkeh View Post
    Looking at r2 here as well, directly above the 'Folders' option in GPPs is 'Files' - you specify a source and destination and it copies.
    if i select a folder it just opens it thats how ive been doing odd files like ini files

    gppfile.jpg

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 4
    Last Post: 3rd January 2012, 05:51 AM
  2. Can anyone supply a quote for laptop or desktop?
    By rocknrollstar in forum Recommended Suppliers
    Replies: 1
    Last Post: 4th March 2009, 08:06 AM
  3. Can you run the KS3 Test server stuff on an XP machine?
    By RoyG in forum ICT KS3 SATS Tests
    Replies: 6
    Last Post: 19th April 2007, 12:44 AM
  4. Can you point me in the direction of..
    By saundersmatt in forum General Chat
    Replies: 3
    Last Post: 28th September 2006, 07:42 AM
  5. Replies: 3
    Last Post: 27th July 2006, 01:36 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •