How to share a folder with java? in netbios in windows

hi. I want to write a programa that user can select a directory than
click the share button and the directory will be shared to other pcs.
the other pcs can acces this directory like \\servername\shareddirectory
the question is this. how can i share a director with java or JNI's?
please help me.
with my best regards....

thanks about net share command.
i know how to use Runtime.getRuntime.exec()
but i cont find the syntax of net share command.
can u give an example? i use net help share and i try different
sytaxes but i cant find the correct one.
please give an examle about net share command.
thanks a lot.

Similar Messages

  • How to share a folder with ipad or iphone trough win7 ?

    Good day, please help to know,How to share a folder with ipad or iphone trough win7 ?  I have two PC ( win 7) and work with iPad and iPhone at the same time and always  i need to transfer file or documents to iPad (iPhone ) and also transfer from iPad( iPhone) to PC(win7) , already i have used some share wifi app that have to used ip address like 192.168.5.2:8888 that i am not really like this way actually i need a way or app to share a folder from my PC to iPad and iPhone.
    And also how can i look my iphone or ipad in network of PC?
    Many thanks

    I know of apps that can access shares and download but I am not aware of any apps that will allow you to upload as well.

  • How to create a folder with java application?

    Hi expert
    I would like to read some tutorial or manual to understand the logic behind the management of the folder and document from a java application in KM.
    Anyone could help me?
    thank you
    Andrea

    Dear Andrea,
    Please have a look to below documents might help.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30a2a087-190f-2d10-07a4-dad666b44c1f?QuickLink=index&overridelayout=true
    http://wiki.sdn.sap.com/wiki/display/Snippets/KMLibrary-ReusableComponentforWebDynpro+Java
    Best Regards,
    Arun Jaiswal

  • How to share a folder with crative cloud

    Is there a way to share a whole folder rather than just individual files?

    Improved sharing and collaboration are coming. You can read more here http://blogs.adobe.com/creativecloud/coming-soon-to-creative-cloud/.

  • HT1727 how to share my itunes with my android phone for free?

    How to share my itunes with my android htc and samsung gallaxy phones.At one time paid for but will not sync anymore song.

    Read the directions for your phones to learn how to put music on them.

  • How to lock a folder with password ?

    Please tell me how to lock a folder with password (to keep personal files)

    Keep looking it can be done. I have a folder on my hard drive that requires a password everytime I try to open it. I found how to do this in an old "Mac OS - The missing manual" but don't remember off the top of my head how I did it. I remember you have to partition a portion of the hard drive, I think I did like 10 Gig of my 1 Teribite external drive and then you give it a name and make up a password. The password is NOT changeable and if you lose it you can't get back in that folder. It appears as a standard folder but needs a password to open it.
    Email me direct if you can't find any info and I will try to look it up - [email protected]

  • How to connect oracle database with JAVA

    how to connect oracle database with JAVA....
    using j2sdk and Jcreator . which connector to use .. what are the code for that ..

    PLEASE .... Ask in an Oracle Java forum.
    And read the documentaiton. There is a whole document devoted to doing that. http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/toc.htm has examples.
    PLEASE ... do not ask product questions in a forum which clearly has a title saying it is devoted to assisting with download problems.

  • How can i create messenger with java tv API on STB

    deal all.
    how can i create messenger with java tv API on STB.
    how can Xlets communicate each other?
    how?
    i am interested in xlet communications with java tv.
    is it impossible or not?
    help all..

    You can create a messenger-style application using JavaTV fairly easily. JavaTV supports standard java.net, and so any IP-based connection is pretty easy to do. The hard part of the application will be text input, but people have been using cellphone keypads to send SMS messages for long enough that they're familiar with doing this. This doesn't work well for long messages, where you really need a decent keyboard, but for short SMS-type messages it's acceptable.
    The biggest problem that you need to work around is the return channel. Many receivers only have a dial-up connection, ties up the phone line and potentially costs people money if they don't get free local calls. Always-on return channels (e.g. ADSL or cable modem) are still pretty uncommon, so it's something that you nee to think about. Of course, if you do have an always-on connection then this problem just goes away.
    This is really one of those cases that's technically do-able, but the infrastructure may not be there to give users a good experience.
    Steve.

  • How to share a project with a non-Adobe user and present it to prospect customers?

    I Have to share my project with a person who will present it to prospect customers. I cannot ask this person to open an Adobe account. Is there a way for him to access my DPS folio and show it? Or can I export it in a way that allows to appreciate the interaction features built inside?
    Thanks!

    OK, got it. Thank you!
    2015-01-17 14:46 GMT+01:00 Bob Levine <[email protected]>:
        How to share a project with a non-Adobe user and present it to
    prospect customers?  created by Bob Levine
    <https://forums.adobe.com/people/BobLevine> in Digital Publishing Suite
    - View the full discussion
    <https://forums.adobe.com/message/7105349#7105349>

  • HT1366 How to fix Flashing Folder with Question Mark on Mac

    How to fix Flashing Folder with Question Mark on Mac

    RichardEL is probably correct.  I’ll go through your questions.
    > there is no Mac OS partition, I assume it would be directly underneath the HD on the left?
    I have not seen this particular condition where the hardware disk icon appears but the system volume that is supposed to be below it does not.  The System Disk partition would be below the HD icon indented to the right.  It is usually called “Macintosh HD” unless you renamed it.
    > when I go into disk utility my HD appears on the left, but I can repair or verify it
    Odd.  It appears but you cannot manipulate it with Disk Utility.
    > The S.M.A.R.T status reads verified
    If it did not say Verified then it would indicate a problem.  Saying Verified does not rule out problems but I think it indicates it is still breathing.
    > Is the HD deceased?
    If you booted the Recovery Partition (Boot, Command-R), which it sounds like you did, then at least part of the disk is still breathing.  If it took a long time to boot then that may have been a Network Recovery boot which would indicate the disk is very sick or dead.
    >  [If I] restore from time machine [will] everything will be back as it was before?
    Yes.  That is the beauty of Time Machine.  All your data, applications, and system preferences will be as they were as of the last backup.
    > I was thinking of erasing the HD, would this be of any help or do I just need a new one?
    Given what you reported from the Disk Utility steps you took it is unclear to me if there will be a way to repair the current volume, if you can erase and install from scratch or if you need a new disk.  Before proceeding it may be useful to have an expert at an Apple store look at it for you.  They may be able to revive it without a clean install or new disk.
    As was the case above, it could be a good disk with a bad cable in which case a new disk is not going to help.  To test this you can purchase an inexpensive external enclosure, remove the internal disk, place it in the enclosure, plug it in and then use Boot-Option to attempt to boot from the now external disk.  Here are links to the screwdrivers and enclosure you would need.
    $5 Toolkit: http://eshop.macsales.com/item/OWC/TOOLKITMHD/
    $22 USB 3.0 enclosure: http://eshop.macsales.com/item/OWC/ES2.5BU3W/
    If you attempt a clean install, use the Partition tab to repartition the disk, selecting one partition and with “Options…” electing a GUID partition.  Then use the Erase tab, select “Security Options…” and set it to write a single pass of zeros.  This will write to every sector to map out bad blocks.  (If you have an SSD do not write a pass of zeros.)
    If you do need to replace it I recommend an new inexpensive (~$100) and super-fast hybrid SSHD drive that has an 8 GB SSD cache that makes the data fly.  Google “Seagate 1 TB hybrid SSHD”.

  • How can I merge folder with the same name so that the content does not replace the other

    How can I merge folder with the same name so that the content does not replace the other?

    >
    That's only a good idea if the semantics of sayHello
    as defined in MyInterface suggest that a
    RemoteException could occur. If not, then you're
    designing the interface to suit the way the
    implementing classes will be written, which smells.
    :-)But in practice you can't make a call which can be handled either remotely or locally without, at some point, dealing with the RemoteException.
    Therefore either RemoteException must be part of the interface or (an this is probably more satisfactory) you don't use the remote interface directly, but MyInterface is implemented by a wrapper class which deals with the exception.

  • How to program a screensaver with java???

    Hi all,
    Can someone tell em how to program a screensaver with java, and how should i begin ? or maybe someone know any useful information source?
    thanks a lot.
    ck

    A quick google search gives me, among lots of other things:
    http://kevinkelley.mystarband.net/java/sava.html
    Good luck
    Lee

  • Requesting information on how to share purchased music with friends on internet.

    How to share purchased music with friends on the internet.

    Find the song you want in Spotify or Youtube.  It may, but does not have to, match a song in your iTunes library.
    Right-click the title and choose "Copy HTTP link" (Spotify) or just copy the URL (Youtube). 
    Email the link to your friends.  They simply click on it and listen to the song.

  • How to create a folder with spaces written in Java under Linux?

    Hello,
    I have a serious problem
    I want to run a Linux command using a Java class with the runtime interface, there is a command to create a folder named eg "My Folder", with a space
    For create the Unix command is easy to do either:
    mkdir My\ Folder
    or
    mkdir "My Folder"
    But how to translate this in Java, I tried with two commands :
    Runtime.exec("mkdir My\\ Folder")
    Runtime.exec("mkdir \"My Folder\"")
    For example :
    import java.io.IOException;
    public class CreerDossier {
    public static void main(String[] args) throws IOException {
    Runtime runtime = Runtime.getRuntime();
    runtime.exec("mkdir My\\ Folder");
    runtime.exec("mkdir \"My Folder\"");
    But it's still not working,
    For runtime.exec("mkdir My\\ Folder") it creates two folders My\ and Folder
    For runtime.exec("mkdir \"My Folder\"") it creates also two folders "My and Folder"
    Are there solutions?
    Thank you !

    But my real problem is how to apply the chmod 777 on a folder containing spacesSo why not say so in the first place?
    Runtime.exec ("chmod 777 My\\ Folder");Runtime.exec(new String[]{"chmod", "777", "My Folder"});
    That is why I chose the example of mkdirYour reasoning on this point is incomprehensible. You wanted help with A so you asked about B. Just wasting time.

  • How to share iMovie library with other accounts without duplicating files?

    I'm looking for information on how to share an imovie library with other accounts on the same computer without duplicating files.  If I  copy imovie files to the shared folder each user is required to import the files to their library which duplicates the files.  It would be nice if imovie had the option of including events/projects shared in the share folder.  Is there an option to change everyone's default library to a shared folder?  Any help would be appreciated.
    Thank you!

    The easiest way to do this would be to atach an external drive. The external drive should be formatted as Mac OS Extended (journaled). If you have a drive that is formatted some other way, you can reformat it using Disk Utility. It can be Thunderbolt, Firewire, or USB, but Firewire or Thunderbolt will give best performance for video.
    Now you need to move the projects and events over to the external drive. This must be done from within iMovie.
    In iMovie, click VIEW/EVENTS BY DISK.
    Now, in the Project Library View, hold down the command key while dragging the small icon for each project to the small icon for the external drive. Now select one of these projects and click FILE/CONSOLIDATE MEDIA. This will enable you to move associated Events, Photos, and Music to the external drive. Repeat for all projects.
    If any events are left over at the end of this, because they are not used in any of your projects, you can move them to the external drive by working in the Event Library list. Hold down the Command Key while dragging the small icon for the Event in the Event Library List to the small icon for the External Drive. Repeat until all the Events are moved.
    Now you can edit these movies on any user account.
    For future clips that you import from a camera, be sure to select the external drive as the location.

Maybe you are looking for

  • SQL performance drops after 20 mins

    Hello, I am using Oracle Version 9.2.0.5 I have an SQL query that starts off fast but the performance drops after running for 20 mins. It continues to drop till a point where it becomes painfully slow. The query is as attached below: SELECT      /*+

  • Launchpad transitionary state (translucent) gets stuck, pages do not slide properly. Mavericks.

    I have a problem with A LOT of things on Mavericks: what happened to releasing finished products, Apple? This particular one pops up a lot. When I pinch with four fingers to bring up the launchpad, it sometimes gets stuck in its transitionary state.

  • Default Value in Operation Tab for Work and Numbers

    Hi All, When i save maintenance order, Work and Number column in operation tab defaulted with values as 2 & 1. Due to this duration is 2HR. Calculation key is set as Calculate Duration in configuration. Any Idea how Work and Number column in operatio

  • Capturing Tax code from info record into shopping cart

    We have a requirement where in we need to capture the tax code from the info record into the shopping cart in SRM . If anyone has worked on a similar requirement , could you kindly share the details related to the solution.

  • Why the constant signing in to iTunes?

    This question has arisen once or twice before (around 2008) but the replies seemed uncertain and I am hoping more positive details are now on hand. When I go into iTunes, I am invariably presented with the following prompt ... Sign in to use this com