File.Move() (Method)

A file move method.


JScript - 3.0
Internet Explorer - 4.0
JavaScript syntax:IEmyFile.Move(aPath)
Argument list:aPathThe new target part for the file

You may use this method in the Windows environment to move a file to a different folder within the file system. This follows the Unix tradition of calling the Rename command a Move command.

The destination path should be valid for the file system to which the file is being moved. Given that computers allow for the mounting of foreign file systems through a variety of different techniques, the target file system path may be constructed quite differently to that of the source path.

See also:FileSystem.MoveFile(), Folder.Move()