Skip to main content
stop edit session first, file-gdb example
Source Link
matt wilkie
  • 28.3k
  • 35
  • 149
  • 283

If you want to copy a shapefile (or file geodatabase for that matter) without exiting all Arcgis programs or killing processes, stop any active Edit sessions or geoprocessing tasks, open up a Command Prompt window and:

Shapefile:

xcopy /c /v d:\projects\aaa\some-shapefile.* d:\some\other\place

The /c means continue even if there are errors (e.g. skip in-use lock files); /v = verify.

File geodatabase:

xcopy /c /i /v d:\projects\aaa\some-file.gdb\* d:\some\other\place\some-file.gdb

/i means assume destination is a folder, not a file.

More info about parameters on SS64.

  Vista, Win7 and newer users press shift when r-clicking in folder to open a prompt quickly in that spot. XP users install the Command Prompt here windows explorer extension for same.

...

update Aug 2015: Added exit edit session, file-gdb example.

If you want to copy a shapefile (or file geodatabase for that matter) without exiting all Arcgis programs or killing processes, stop any active Edit sessions or geoprocessing tasks, open up a Command Prompt window and:

xcopy /c d:\projects\aaa\some-shapefile.* d:\some\other\place

The /c means continue even if there are errors. More info about parameters on SS64.

  Vista, Win7 and newer users press shift when r-clicking in folder to open a prompt quickly in that spot. XP users install the Command Prompt here windows explorer extension for same.

...

update Aug 2015: Added exit edit session.

If you want to copy a shapefile (or file geodatabase for that matter) without exiting all Arcgis programs or killing processes, stop any active Edit sessions or geoprocessing tasks, open up a Command Prompt window and:

Shapefile:

xcopy /c /v d:\projects\aaa\some-shapefile.* d:\some\other\place

The /c means continue even if there are errors (e.g. skip in-use lock files); /v = verify.

File geodatabase:

xcopy /c /i /v d:\projects\aaa\some-file.gdb\* d:\some\other\place\some-file.gdb

/i means assume destination is a folder, not a file.

More info about parameters on SS64. Vista, Win7 and newer users press shift when r-clicking in folder to open a prompt quickly in that spot. XP users install the Command Prompt here windows explorer extension for same.

...

update Aug 2015: Added exit edit session, file-gdb example.

stop edit session first.
Source Link
matt wilkie
  • 28.3k
  • 35
  • 149
  • 283

If you want to copy a shapefile (or file geodatabase for that matter) without exiting all Arcgis programs or killing processes, stop any active Edit sessions or geoprocessing tasks, open up a Command Prompt window and:

xcopy /c somed:\projects\aaa\some-shapefile.* d:\some\other\place

The /c means continue even if there are errors. More info about parameters on SS64.

Use the Command Prompt here windows explorer extension (vistaVista, Win7 and win7newer users can just press shift when r-clicking) so you can in folder to open a prompt quickly in that spot. XP users install the folder you need to work inCommand Prompt here windows explorer extension for same.

...

update Aug 2015: Added exit edit session.

If you want to copy a shapefile (or file geodatabase for that matter) without exiting all Arcgis programs or killing processes open up a Command Prompt window and:

xcopy /c some-shapefile.* d:\some\other\place

The /c means continue even if there are errors. More info about parameters on SS64.

Use the Command Prompt here windows explorer extension (vista and win7 users can just press shift when r-clicking) so you can open a prompt quickly in the folder you need to work in.

If you want to copy a shapefile (or file geodatabase for that matter) without exiting all Arcgis programs or killing processes, stop any active Edit sessions or geoprocessing tasks, open up a Command Prompt window and:

xcopy /c d:\projects\aaa\some-shapefile.* d:\some\other\place

The /c means continue even if there are errors. More info about parameters on SS64.

Vista, Win7 and newer users press shift when r-clicking in folder to open a prompt quickly in that spot. XP users install the Command Prompt here windows explorer extension for same.

...

update Aug 2015: Added exit edit session.

Source Link
matt wilkie
  • 28.3k
  • 35
  • 149
  • 283

If you want to copy a shapefile (or file geodatabase for that matter) without exiting all Arcgis programs or killing processes open up a Command Prompt window and:

xcopy /c some-shapefile.* d:\some\other\place

The /c means continue even if there are errors. More info about parameters on SS64.

Use the Command Prompt here windows explorer extension (vista and win7 users can just press shift when r-clicking) so you can open a prompt quickly in the folder you need to work in.