jcifs_1.3.3.examples.RenameTo Maven / Gradle / Ivy
Go to download
JCIFS is an Open Source client library that implements the CIFS/SMB networking protocol in 100% Java
import jcifs.smb.SmbFile;
public class RenameTo {
public static void main( String argv[] ) throws Exception {
SmbFile from = new SmbFile( argv[0] );
SmbFile to = new SmbFile( argv[1] );
from.renameTo( to );
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy