Windows 10: Batch file needed for USB write and read only.

Discus and support Batch file needed for USB write and read only. in Windows 10 Gaming to solve the problem; I have a requirement for a office purpose. I want to give a usb pendrive write protected and read only permission, for any system I connect, the data... Discussion in 'Windows 10 Gaming' started by Job S Paruthickal, Jan 4, 2025.

  1. Batch file needed for USB write and read only.


    I have a requirement for a office purpose. I want to give a usb pendrive write protected and read only permission, for any system I connect, the data shoudnt get deleted anytime in the pendrive. So I know through dispart from cmd we can do this but can anyone help me to create a batch file so the user non IT can do it from their own pc without any fuss just by clicking the batch file shortcut rather than typing the commands from command prompy dispart. So pls help me.

    :)
     
    Job S Paruthickal, Jan 4, 2025
    #1

  2. Writing batch files

    I haven't done any coding for a very long time and I am looking for a tutorial and command list for making a batch file in win10. All I can seem to find are videos or sites that tell you that you use notepad to save a file as a .bat with virtually no info
    on the actual programming/scripting. I know it'll all come back to me once I do one or two basic files, but I need a detailed refresher. Any suggestions?

    (Specifically, I need a program to replace lines in one text file with lines from a different text file.)
     
    CosmicCowboy, Jan 4, 2025
    #2
  3. Batch file to ping network

    you would be better off writing something in c++ or even VB
    batch file != programming
    batch files are extremely limited
     
    CaptainFailcon, Jan 4, 2025
    #3
  4. oily_17 Win User

    Batch file needed for USB write and read only.

    Batch Files Knowledge Base

    Don't use batch files very much but one I find useful is for creating a list of files in a directory.
    Just copy the text below into Notepad and save as Filelist.bat

    dir /a /-p /o:gen >filelist.txt

    When you run it from a folder it will create a Filelist.txt file,in the same folder, that lists all the files in that folder.Useful when you are too lazy to type all the files out yourself.
     
    oily_17, Jan 4, 2025
    #4
Thema:

Batch file needed for USB write and read only.

Loading...
  1. Batch file needed for USB write and read only. - Similar Threads - Batch file needed

  2. Batch file needed for USB write and read only.

    in Windows 10 Software and Apps
    Batch file needed for USB write and read only.: I have a requirement for a office purpose. I want to give a usb pendrive write protected and read only permission, for any system I connect, the data shoudnt get deleted anytime in the pendrive. So I know through dispart from cmd we can do this but can anyone help me to...
  3. Microsoft branded USB 4GB is permanently Read Only Write Protected

    in Windows 10 Drivers and Hardware
    Microsoft branded USB 4GB is permanently Read Only Write Protected: Years ago, I bought a Windows OS with licence loaded onto a USB on which the swivelling cover / USB male end protector was branded "Microsoft Be what's next". From memory, after loading, the content on the USB was wiped but the USB, which now showed no data = 4GB empty...
  4. Read/Write Folder inside Read only folder

    in Windows 10 Network and Sharing
    Read/Write Folder inside Read only folder: Look, I'm trying to make Remote Storage by sharing a folder in this case is "networkDrive", the root. Hosted by mapping network drive.Inside the folder, there are 2 folders:viewed using the mapped network driveThe "networkDrive" folder is supposed to be read only - meaning...
  5. USB Drive read/write 100%... very slow write

    in Windows 10 Drivers and Hardware
    USB Drive read/write 100%... very slow write: I have a 6TB (mains-powered) external Seagate USB3 drive (used only for data backup) which might be failing? Or is there another reason the problem? An identical Seagate drive seems to perform fine (though I haven't done extensive side-by-side testing). When I start copying...
  6. Read and write encrypted file

    in Windows 10 Network and Sharing
    Read and write encrypted file: Hi I have created an encrypted file using AES , stored this encrypted file into a folder in my D drive . This encrypted file consists of junk characters .My next task is to read that file . I have tried methods such as _tfopen_s and _wfopen_s etc. but I could not able to...
  7. Write a batch script to read list of db names to connect

    in Windows 10 Installation and Upgrade
    Write a batch script to read list of db names to connect: Hi, I hope someone can help me. I am new to batch scripting. I want to read a file that has database names and connect to each of them to get status. I'd like to do this from cmd command. I really appreciate if I can get some help here. Thanks in advance....
  8. Help needed writing batch script!

    in Windows 10 Support
    Help needed writing batch script!: Firstly thank you for even clicking on this thread as I understand that this probably isn't meant to be here. The scenario is that I'm trying to write a script that incorporates the result of a ping to an IP and then based on the result do different things. Here is an...
  9. Write to read only memory

    in Windows 10 BSOD Crashes and Debugging
    Write to read only memory: I have had two BSODs this morning, the first was PFN list corrupt closely followed by Write to read only memory. This is a clean install of Windows 10, I thought it might cure the BSODs but no such luck. So glad to find this forum. Attachment 82075 51621
  10. autorun batch file usb

    in Windows 10 Support
    autorun batch file usb: I want run a bat file from usb stick while inserting it plz help me 63747