Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. vss cmd line get

vss cmd line get

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netvisual-studiohelpquestion
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RobNicolson
    wrote on last edited by
    #1

    I am trying to write a simple batch file to get a project from source safe, build it using the vs.net cmd line and then deploy it somewhere. I am using the following line to get the project from vss: ss get $/MyProjects/MyProject1 -R -I- -NL –R -> recursive -I- ->don’t ask for input -NL -> use long names (alternatively –NS for short names) However, this is an asp.net project, all the filenames are being trimmed when getting from vss, this results in files being copied over. I have searched the documentation and on the web and cant find my answer, can anyone help? Thanks, Rob

    J 1 Reply Last reply
    0
    • R RobNicolson

      I am trying to write a simple batch file to get a project from source safe, build it using the vs.net cmd line and then deploy it somewhere. I am using the following line to get the project from vss: ss get $/MyProjects/MyProject1 -R -I- -NL –R -> recursive -I- ->don’t ask for input -NL -> use long names (alternatively –NS for short names) However, this is an asp.net project, all the filenames are being trimmed when getting from vss, this results in files being copied over. I have searched the documentation and on the web and cant find my answer, can anyone help? Thanks, Rob

      J Offline
      J Offline
      jimf1inmd
      wrote on last edited by
      #2

      Rob, Not sure if it matters or not, but just to be on the safe side could you tell us what OS you are running? Thanks, Jim.

      R 1 Reply Last reply
      0
      • J jimf1inmd

        Rob, Not sure if it matters or not, but just to be on the safe side could you tell us what OS you are running? Thanks, Jim.

        R Offline
        R Offline
        RobNicolson
        wrote on last edited by
        #3

        WinXP sp2.

        J 1 Reply Last reply
        0
        • R RobNicolson

          WinXP sp2.

          J Offline
          J Offline
          jimf1inmd
          wrote on last edited by
          #4

          Rob, How are you trying to run the batch file? If I open a command prompt (Start | Run | cmd) and type in the following command, I get long file names (the first part is path to my SS.EXE and then the rest is the command options that you provided in your first post). "C:\Program Files\Microsoft Visual Studio\VSS\win32\ss" get $/ -R -I- -NL Thanks, Jim.

          R 1 Reply Last reply
          0
          • J jimf1inmd

            Rob, How are you trying to run the batch file? If I open a command prompt (Start | Run | cmd) and type in the following command, I get long file names (the first part is path to my SS.EXE and then the rest is the command options that you provided in your first post). "C:\Program Files\Microsoft Visual Studio\VSS\win32\ss" get $/ -R -I- -NL Thanks, Jim.

            R Offline
            R Offline
            RobNicolson
            wrote on last edited by
            #5

            Jim, thanks for your comments, Unfortunately vss is not local to my machine I am getting the files over a network. I have been calling the ss.exe on the networked machine where the db resides. \\machine\folder\ss.exe get $/project -R -I- -NL When I point to the local ss.exe as you suggested I have no files to get, presumably because I have no files in a local vss db. Do I need to do somemore reading about setting up vss (pointing the local vss at a network repository), or am I heading down the right lines in calling the command line on the machine where the vss db resides. If so is it a network file copy issue rather than a vss issue? Thanks again, Rob

            J 1 Reply Last reply
            0
            • R RobNicolson

              Jim, thanks for your comments, Unfortunately vss is not local to my machine I am getting the files over a network. I have been calling the ss.exe on the networked machine where the db resides. \\machine\folder\ss.exe get $/project -R -I- -NL When I point to the local ss.exe as you suggested I have no files to get, presumably because I have no files in a local vss db. Do I need to do somemore reading about setting up vss (pointing the local vss at a network repository), or am I heading down the right lines in calling the command line on the machine where the vss db resides. If so is it a network file copy issue rather than a vss issue? Thanks again, Rob

              J Offline
              J Offline
              jimf1inmd
              wrote on last edited by
              #6

              Rob, When I open a command prompt (again, using Start | Run | cmd) and then try to access a remote VSS database using the command structure that you include above, I get the full/long file names. In case it matters, the server on which the remote VSS database is Windows 2000 and (as far as I know) there is nothing special that has been changed on that server. How are you opening the command prompt and/or executing the batch file? You may want to try to take the line out of the batch file and run it at the command prompt. This way you can see if there is any difference. Thanks, Jim.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups