Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Implementations  





2 Design  





3 Syntax  





4 See also  





5 References  





6 Further reading  














share (command)






Deutsch
 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


share
Developer(s)Microsoft, Paragon Technology Systems, DR, Datalight, Novell, Ron Cemer
Initial release1984, 39–40 years ago
Operating systemMS-DOS, PTS-DOS, SISNE plus, Windows, DR DOS, ROM-DOS, FreeDOS
TypeCommand

Incomputing, share is a command for DOS that allows software to perform file locks. Locking files became necessary when MS-DOS began allowing files to be accessed simultaneously by multiple programs, either through multitaskingornetworking.[1][2][3]

Implementations[edit]

On MS-DOS, the command is available in versions 3 and later.[4] The command is also available in FreeDOS,[5] PTS-DOS,[6] and SISNE plus.[7] The FreeDOS version was developed by Ron Cemer and is licensed under the GPL.[8] DR DOS 6.0[9] and Datalight ROM-DOS[10] include an implementation of the share command.

Windows XP and later versions include 16-bit commands (nonnative) for the MS-DOS subsystem that are included to maintain MS-DOS compatibility. The share MS-DOS subsystem command performs functions that are now inherent to Microsoft Windows. It is available to preserve compatibility with existing files, but has no effect at the command line because the functionality is automatic. The 16-bit MS-DOS subsystem commands are not available on 64-bit editions of Windows.[11]

Design[edit]

There were five locking modes:

The program runs as a terminate-and-stay-resident program and is typically loaded at boot-up.

Syntax[edit]

share [/F:space] [/L:locks]

See also[edit]

References[edit]

  1. ^ Jamsa, Kris A. (1993), DOS: The Complete Reference, Osborne McGraw-Hill, p. 206, ISBN 0078819040.
  • ^ "DOS Command: SHARE".
  • ^ MS-DOS and Windows command line share command
  • ^ Wolverton, Van (2003). Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition. Microsoft Press. ISBN 0-7356-1812-7.
  • ^ "FreeDOS 1.2 Updates Group - FreeDOS Base". Ibiblio.org. Retrieved 2022-09-08.
  • ^ "PTS-DOS 2000 Pro User Manual" (PDF). Buggingen, Germany: Paragon Technology GmbH. 1999. Archived (PDF) from the original on 2018-05-12. Retrieved 2018-05-12.
  • ^ SISNE plus - Referência Sumária | Datassette
  • ^ "FreeDOS 1.2 Updates Package - share (FreeDOS Base)". Ibiblio.org. 2007-10-20. Retrieved 2022-09-08.
  • ^ DR DOS 6.0 User Guide Optimisation and Configuration Tips
  • ^ "Datalight ROM-DOS User's Guide" (PDF). www.datalight.com.
  • ^ MS-DOS subsystem commands
  • Further reading[edit]


  • t
  • e

  • Retrieved from "https://en.wikipedia.org/w/index.php?title=Share_(command)&oldid=1135257047"

    Categories: 
    External DOS commands
    DOS stubs
    Hidden category: 
    All stub articles
     



    This page was last edited on 23 January 2023, at 15:31 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki